[Front End] Client-side rendering vs Server-side rendering
Do you ever wonder - what can a website not do? You can chat, play games, work on Google Doc.etc. Server-Side Rendering Traditional way of rendering a website. How it works? Server generates HTML files and sends it to browser (client), where it is displayed as a website. Doesn't matter if new page has one difference than the current page, the browser will ask for the entire page, and re-render everything. Client-Side Rendering Didn't become popular until JavaScript libraries started using this development style; examples are Vue.js and React.js How it works? Instead of getting the generated HTML files from the server, you download the data you need, template HTML(s) and Javascript (libraries). Then, the browser renders the data into the template HTML using Javascript or Javascript Libraries. Server is responsible for less processing (doesn't need to generate the HTML) - this responsibility is pushed to the client (browser). When navigating through