Загрузка страницы

10 Next.js Tips You Might Not Know!

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: https://nextjs.org/docs/api-reference/next.config.js/redirects
2: https://nextjs.org/docs/api-reference/next.config.js/rewrites
3: https://next-preview.vercel.app/
4: https://github.com/leerob/leerob.io/blob/master/next.config.js#L8-L11
5: https://github.com/leerob/leerob.io/commit/74a3ebb14b81f785ea96f9c73fbe4f6c2463679c
6: https://nextjs.org/docs/advanced-features/module-path-aliases
7: https://leerob.io/snippets/crud-api-route
8: https://github.com/leerob/leerob.io/blob/master/pages/api/subscribers.js#L13-L16
9: https://adamwathan.me/2019/10/17/persistent-layout-patterns-in-nextjs/
10: https://github.com/mlynch/nextjs-tailwind-capacitor

–––––
Blog: https://leerob.io/
Twitter: https://twitter.com/leeerob
GitHub: https://github.com/leerob
Course: https://react2025.com/

Видео 10 Next.js Tips You Might Not Know! канала Lee Robinson
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
4 января 2021 г. 21:03:11
00:07:44
Яндекс.Метрика