Report this

What is the reason for this report?

Rendering client side React meanwhile sending rendered EJS template to the client

Posted on October 13, 2020

Hello! I have a technical question about Nodejs, ejs template engine and react. I am not interested to do react server side rendering but I want to know if I have ejs template on server that deliver HTML rendered file to the client, how could I serve it to the react but it renders in the client side?

Thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.