Block Making
concepts for making blocks in this project
Demonstration
File Structure

This is the file structure from create-react-block. You can copy an existing block for convenience.
Register Block in index.tsx
Create Custom Post Type - if needed
Build Your Query - if using a postType for your block
You can use the GraphQl IDE in the Wordpress Backend to build your query.

Make Your Frontend Block
When creating & registering your block the naming convention is to kabab-case rather than TitleCase or camelCase.
Detail Page with Dynamic Routes
Query Details for Single Item
Last updated
Was this helpful?