NextJS
- Disable Telemetry
pnpm exec next telemetry disable getServerSideProps: For Pre-rendering pages on each requestgetStaticProps: Pre-render the page at build timegetStaticPaths: for static generation of dynamic components that usegetStaticProps- React Hook Library for client side data fetching React Hooks for Data Fetching – SWR
- Repo Template: GitHub: Blazity/next-enterprise: 💼 An enterprise-grade Next.js boilerplate for high-performance, maintainable apps. Packed with features like Tailwind CSS, TypeScript, ESLint, Prettier, testing tools, and more to accelerate your development.
- NEXT Server Components are just serialized virtual dom over the network Youtube: Simplifying Server Components – Mark Dalgleish, React Advanced 2023
- NEXT Server Components & Tainting
- How to Think About Security in Next.js | Next.js
- Youtube: From 0 to Production - The Modern React Tutorial (RSCs, Next.js, Shadui, Drizzle, TS and more)
“use client” and “use server”
"use client"ship JS to client, run code on server"use server"expose endpoint to frontendimport 'server-only';fail compile if server side component is imported. GitHub:'use server'vsimport 'server-only'· vercel/next.js · Discussion #55314
Caching Overview
