Uploaded January 2021 | Updated December 2026, 3 hours ago
Next.js can do a lot for you — which means there's features you probably haven't used! This video covers ten tips you might not know about Next.js.
0:00 – Introduction
0:09 – Redirects
0:44 – Rewrites
1:24 – Preview Mode
2:19 – Build Process
2:57 – Preact
3:48 – Absolute Imports and Module Path Aliases
4:21 – CRUD API Routes
5:06 — Setting Response HTTP Caching Headers
5:31 — Shared Component Attributes
6:30 — Mobile Apps!?
7:32 – Conclusion
Links
–––––
1: nextjs.org/docs/api-reference/next.config.js/redirects
2: nextjs.org/docs/api-reference/next.config.js/rewrites
3: https://next-preview.vercel.app/
4: github.com/leerob/leerob.io/blob/master/next.config.js#L8-L11
5: github.com/leerob/leerob.io/commit/74a3ebb14b81f785ea96f9c73fbe4f6c2463679c
6: nextjs.org/docs/advanced-features/module-path-aliases
7: leerob.io/snippets/crud-api-route
8: github.com/leerob/leerob.io/blob/master/pages/api/subscribers.js#L13-L16
9: adamwathan.me/2019/10/17/persistent-layout-patterns-in-nextjs
10: github.com/mlynch/nextjs-tailwind-capacitor
–––––
Blog: leerob.io
Twitter: twitter.com/leeerob
GitHub: github.com/leerob
Course: react2025.com
Next.js can do a lot for you — which means there's features you probably haven't used! This video covers ten tips you might not know about Next.js.
0:00 – Introduction
0:09 – Redirects
0:44 – Rewrites
1:24 – Preview Mode
2:19 – Build Process
2:57 – Preact
3:48 – Absolute Imports and Module Path Aliases
4:21 – CRUD API Routes
5:06 — Setting Response HTTP Caching Headers
5:31 — Shared Component Attributes
6:30 — Mobile Apps!?
7:32 – Conclusion
Links
–––––
1: nextjs.org/docs/api-reference/next.config.js/redirects
2: nextjs.org/docs/api-reference/next.config.js/rewrites
3: https://next-preview.vercel.app/
4: github.com/leerob/leerob.io/blob/master/next.config.js#L8-L11
5: github.com/leerob/leerob.io/commit/74a3ebb14b81f785ea96f9c73fbe4f6c2463679c
6: nextjs.org/docs/advanced-features/module-path-aliases
7: leerob.io/snippets/crud-api-route
8: github.com/leerob/leerob.io/blob/master/pages/api/subscribers.js#L13-L16
9: adamwathan.me/2019/10/17/persistent-layout-patterns-in-nextjs
10: github.com/mlynch/nextjs-tailwind-capacitor
–––––
Blog: leerob.io
Twitter: twitter.com/leeerob
GitHub: github.com/leerob
Course: react2025.com










