Create Project package - scaffold necessary ingredients to work with an existing block #59759
Labels
[Tool] Create Block
/packages/create-block
[Tool] WP Scripts
/packages/scripts
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
wp-scripts
is a fantastic package with a lot of benefits, but can be a bit daunting for new developers to use because of the complexities involved. The underlying mechanisms aren't necessary if you understand the way WordPress works.This feature request represents a way to make it easier for block developers to work with existing blocks - whether they are Core or community blocks.
Sample use cases
data
package to pull info from an existing blockReal world use case: Glue functionality: Let's say you have a weather block, but you want the weather block to send you SMS alerts when it may be raining in your locale. But that functionality doesn't exist with the way the block is written right now.
What is your proposed solution?
The
create-block-plugin
package scaffolds files to interact with a block.In the sample use case, the glue functionality looks at the block data for today and integrates with a SMS platform to send you a text message.
There are two types of
block plugins
The text was updated successfully, but these errors were encountered: