Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7519

Refactor Guestbook block to utilize block.json

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Should have Should have
    • None
    • None

      Summary

      Mimic Gutenberg blocks structure to take advantage of better code splitting and lazy loading.

      Requirements

      • Create block.json file, complete with all information usually coming from our {BlockName}Block.js
      • Register block in JS in a index.js file and using block.json metadata
      • Remove PHP registration, use instead Blocks\Register::registerFromAssets('{BlockName}')
      • extract editsavedeprecated to their own files

      Resources

            Unassigned Unassigned
            nroussos Nikos Roussos
            Dan Tovbein Dan Tovbein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: