DEV Community

loading...

Discussion on: How old is client-side rendering?

Collapse
bassemmohamed profile image
Bassem Ibrahim๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‡ช๐Ÿ‡ฌ Author

Ohh, I could be confused here ๐Ÿ˜•. I haven't looked at CSR like that before. So you mean the following scenario :

  1. Some HTML & JS initially load without content.
  2. JS does subsequent call to grab the content as JSON.

That's considered CSR? If that's the case. We can totally say that CSR is way older than React.

I was just thinking about Client-side routing and how ReactJS depends on the client (not the server) to grab content based on route.

Collapse
meddjelaili profile image
Mohamed Djelaili

client-side routing is another topic, and for the client-side rendering as @ben mentioned above it was there before react, but react comes with something called virtual dom which is a way to store the dom on memory and render it into the page using the react render function.