-
Task
-
Resolution: Unresolved
-
Should have
-
None
-
None
-
5
-
Gutenberg
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 edit, save, deprecated to their own files
Resources
- is blocked by
-
PLANET-7393 Webpack upgrade to v5
- CLOSED