Rockett's avatar

React components inside blade templates?

The default way of rendering React components is with "ReactDOM.render(...elementID)". Is there a way to render them by just calling the component directly inside the blade file? Like:

<Example props="..." />

I've tried it and it doesn't work. Sadly I don't know how to google this properly.

0 likes
0 replies

Please or to participate in this conversation.