Ravi
Ravi

Reputation: 149

Reactjs clientside and Server side both together

I am new in Reactjs. I create architecture using Reactjs. When user comes for site and hit url then server.js (server side Rendering) file call. and in browser javascript enable then it's call client side call and if java script disable then run server side. show, How can I achieve this. i take refernce below url:

http://jmfurlott.com/tutorial-setting-up-a-simple-isomorphic-react-app/

Please help me.

Upvotes: 1

Views: 80

Answers (1)

Vishwas Singh Chouhan
Vishwas Singh Chouhan

Reputation: 891

In SSR(Server side rendering) the first render is performed on the server and the rendered HTML is returned to the user unlike in CSR(Client Side Rendering) where a basic html is sent and then react populates the DOM on the client side. Check out this project. They are based on this SSR architecture.

https://github.com/reactGo/reactGo

Upvotes: 1

Related Questions