Hello All,

I have a question regarding Gutenberg React. I'm familiar with React which is what leads me to not understanding how the process works.

React can only render JSX but Gutenberg seems to render HTML (presumably by setting inner html dangerously), however it also adds event listeners to the newly rendered "block". How does it do this?

Many Thanks,
Josh

Thanks for the reply.
I'm not actually looking to build gutenberg blocks. I'm trying to understand how from a React perspective how it actually functions.
Sorry for the confusion.
Josh

@Josh
The question as posed seems to be something you would ask the authors over at that project. Maybe you have another question such as "is there an example how to do (explain what you need to do)?"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.