- Use serverless functions as well in /api to prerender
- use can use next.config.js for only adding routes for index.pages.tsx or anyname.pages.tsx
- link href="" to prefetch..people go with installing react-router-dom or useRouter()
- do not use styles for height and width in instead use height and width attributes directly always
- fetch all data for your different server and store them in
-
-
Save hrithikwins/d3c69d503a1b99357c879c7d74dad0b9 to your computer and use it in GitHub Desktop.
Some Common Mistakes in Next.js Notes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment