strapi / blocks-react-renderer

A React renderer for the Strapi's Blocks rich text editor
Other
107 stars 15 forks source link

feat: add renderer component #3

Closed remidej closed 8 months ago

remidej commented 8 months ago

What does it do?

Sets up the basic renderer logic and tests.

Handling the keys (not using indexes) will come in another PR as I want to focus on the essentials before adding complexity.

How to test it

You can try using the BlocksRenderer component in a react application, and give it the reponse of a Strapi app for a blocks field.

You can also verify that it matches our internal RFC for the renderer

remidej commented 8 months ago

Thanks for the reviews, looks like I have work to do on Monday 😅