Hi Guys,
I am new to Javascript ReactJS and started learning about JavaScript. How to use html instead of jsx code. If we use set inner html, cannot render dynamic content and nor access the component functions.
Thanks in Advance
Hi Guys,
I am new to Javascript ReactJS and started learning about JavaScript. How to use html instead of jsx code. If we use set inner html, cannot render dynamic content and nor access the component functions.
Thanks in Advance
Maybe use a reusable stateless React component? Also, server-side rendering would be a good option to request the templates from the server.
I would honestly recommend using JSX code, however (although I do not know your use case so it is hard to say)
Hi @splashinn
Thanks …