More groundwork on blocks. Trying to get myself into a space where I can start building out new block variants without having to worry about networking or how the block will be rendered.
This led me to build out a new "blocks" component library where I'll be rendering every block variant as they're built: arena-next.vercel.app/test-blocks.
To help build that page I made a new component called WriteFragment (gist): A declarative way to write fragments to Apollo cache using React components. The cool thing about that is you can navigate to the test-blocks page, have dummy-data written to the cache, and when you navigate away, the WriteFragment components will unmount and the dummy-data gets deleted.