Hello guys! In this video, we will look at an article by Rexford Essilfie titled "You Are Leaking Your Next.js Application Features." In this article, Rexford mentions that you can modify the props for a page even after it undergoes server-side rendering using getServerSideProps in the pages router. Rexford has shown how a feature flag can be enabled on the client side by manually changing props. Possible solutions are also suggested.
If you liked the content and found it useful, make sure you support me by clicking the subscribe button and sharing this video with friends in need. 🤝
Links
Link to article - https://www.rexforde.com/blog/conditi...
Next.js app router crash course - • Next.js 14 App Router CRASH COURSE - ...
My video on Zod - • Using zod for input validation in Jav...
Timestamps
0:00 - Introduction
1:57 - Feature flag implementation
6:05 - Implementing the page
7:42 - The problem
11:32 - Solutions
20:39 - Conclusion
Any suggestions? Leave in the comments below!
My links
E-mail - [email protected]
Blog - https://blog.atharva.codes
Latest Links - https://links.atharva.codes
Twitter - / athudeosthale
LinkedIn - / atharvadeosthale
#programming #programmer #javascript #nodejs #npm #reactjs #react #typescript #nextjs #next #ssg #ssr #website #props #hydration