Ask coding questions

← Back to all posts
How do I get the server-side React template to display actual React?

Don't get me wrong

I love the idea of server-side React. I'm just wondering if there's a way to keep all the benefits of server-side React such as server-side rendering while rendering it as actual React (the kind my devtools extension will pick up on.)

Answered by Coder100 [earned 5 cycles]
View Answer

You can get the react extension to get react devtools, but otherwise, its all compiled and minified.




I think I get what you mean, but at the same time super confused xD.

Anyways, I think you're asking about React for client side. Server-side react is strictly for server side since it renders and spits out html. Use a server like Express, CRA with the client option, and a templating engine and maybe you'll have what you're looking for ¯\(ツ)/¯.