Refactor Guestbook block to utilize block.json

XMLWordPrintable

    • Type: Task
    • Resolution: Migrated
    • Priority: 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

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

              Created:
              Updated:
              Resolved: