Continuing where they left off, Aurooba and Brian recap their experience with ACF Blocks. Next, they look at two different ways to create native WordPress blocks: using nested inner blocks and using React components. They discuss the pros and cons of all three methods, how to plan your blocks, and when to just use block patterns.
A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter to hear about episodes (and more) first!
- (00:00) - Part 2: ACF Blocks vs Native Blocks
- (00:12) - Introduction and ACF's documentation
- (03:02) - Reviewing Aurooba's ACF block
- (05:55) - Estimated timeframe for different types of blocks
- (06:58) - A native block with innerBlocks
- (09:57) - The native block with React components
- (13:08) - Inner blocks versus block patterns
- (17:08) - The code behind the " wrapper" block
- (19:47) - Deciding which type of block to build
- (21:37) - Building a block with React components
- (24:52) - Matching the block editor's UI
- (28:21) - Wrap up - how to decide?