gregrickaby/nextjs-wordpress

docs/feature: Block development / shared UI library

data-envoy opened this issue · 1 comments

Hi, your project looks really interesting.

Do you have a suggested way to build a Gutenberg block locally, with a nice DX and code that can be shared across nextjs and WP?

@data-envoy On my personal site, I have a custom ACF Block for displaying photo galleries. On my front-end, I use this Component to display it by scanning the incoming content for a CSS class and then mounting on useEffect(). The implementation works really well!

Good luck!