In this blog, you will learn everything you need to know about Client-side rendering.
I have already created a video about client-side rendering on my youtube channel called Cules Coding
Everybody talks about client-side rendering, single-page applications. But
- What problems does it solve?
- What is it?
- How it works?
Let's learn the problem with the traditional Server-side rendering. If you don't
know what is server-side rendering is, please check this youtube video from my
channel first. And if you like the video then don't forget to SUBSCRIBE to my channel.
Also you can check my blog about Server Side Rendering.
- Sends Request per page.
- Heavy loads on the server.
- Full page reload.
- Poor UI/UX experience when data changes frequently.
Then what is the solution?
- Browser first sends the request to the server.
- Client starts parsing HTML and CSS.
Let's see the pros and cons of Client-side rendering (CSR).
- Less Frequent server calls. Fetches all needed data at once.
- Faster navigation to routes.
- No page reload.
- Great performance when data is changing frequently (dynamic web applications).
- Less Pressure on Server. That's why the server can serve the data quickly.
- Bad Seo. Because HTML has no content. The search engines will crawl through your webpage, it will find nothing. So it will give you bad SEO.
- Blank page flickering on initial load. Because of no content on the HTML.
- Bad performance on slower mobile phones.
Client-side rendering is not always good or bad. It depends on various factors. It is up to you now. Know what your application is and choose what is good for your application.
By the way, this blog is originally published on cules coding website. . I would be glad if you give it a visit.
I have made a video about how to build a carousel postcard with React, Material-UI, and Swiper.js.
If you are interested you can check the video.
You can also demo the application form here
Please like and subscribe to Cules Coding. It motivates me to create more content like this.
If you have any questions, please comment down below.
You can reach out to me on social media as @thatanjan .
Stay safe. Goodbye.
The Internet has revolutionized our life. I want to make the internet more beautiful and useful.
I ended up being a full-stack software engineer.
I can develop complex full-stack web applications like social media applications or e-commerce sites.
I have developed a social media application called Confession. The goal of this application is to help people overcome their imposter syndrome by sharing our failure stories.
I also love to share my knowledge. So, I run a youtube channel called Cules Coding where I teach people full-stack web development, data structure algorithms, and many more. So, Subscribe to Cules Coding so that you don't miss the cool stuff.
I am looking for a team where I can show my ambition and passion and produce great value for them.
Contact me through my email or any social media as @thatanjan . I would be happy to have a touch with you.
- Email: email@example.com
- linkedin: @thatanjan
- portfolio: anjan
- Github: @thatanjan
- Instagram (personal): @thatanjan
- Instagram (youtube channel): @thatanjan
- Twitter: @thatanjan
- Facebook: @thatanjan
Blogs you might want to read:
- Eslint, prettier setup with TypeScript and react
- What is Client-Side Rendering?
- What is Server Side Rendering?
- Everything you need to know about tree data structure
- 13 reasons why you should use Nextjs
Videos might you might want to watch: