Server Side Rendering vs Client Side Rendering ?

Basic diff. between Server Side Rendering vs Client Side Rendering : 

#JavaScript #ReactJS

  • Very simple put, in this model, the server provides with a page which is already populated with the data.
  • It’s just that your server uses the same templates/components to render the app on server.
  • Say you have a simple web application which displays the pictures of cats, and people can vote on how cute a cat is.
  • server.route( { method: ‘GET’ , path: ‘/cats’ , handler: ( request, reply ) => { /* For the sake of this example, imagine that the constant `data` is already populated with the data; similar to the JSON I have in the previous example */ const cats = …
  • Server-side Rendering — the server sends a pre-rendered (i.e., all the steps I outlines above been executed on the server-side) page, and that is displayed to the user.

Read the full article, click here.


@Hashnoder: “Basic diff. between Server Side Rendering vs Client Side Rendering :

#JavaScript #ReactJS”


Can some help me to understand the basics of server side rendering and client side rendering? And also the difference between them? When to use what? etc… Tagged with Programming.


Server Side Rendering vs Client Side Rendering ?