In this video, we are gonna build the car page details using getServerSideProps.
In this mini-series, we are going to build an application to sell used cars, called Car Trader.
We will have a search page with multiple filters, a listing page, a details page and an FAQ page.
From Next.js documentation:
When should I use getServerSideProps?
You should use getServerSideProps only if you need to pre-render a page whose data must be fetched at request time. Time to first byte (TTFB) will be slower than getStaticProps because the server must compute the result on every request, and the result cannot be cached by a CDN without extra configuration.
If you don’t need to pre-render the data, then you should consider fetching data on the client-side using SWR.
----
Microphone Application Demo: • Next.js Tutorial - Part 8 | Static Si...
----
Github Repository: https://github.com/bmvantunes/youtube...
----
RFC: Incremental Static Generation: https://github.com/zeit/next.js/discu...
----
----
Follow me on:
Twitter: / bmvantunes
Dev.to: https://dev.to/bmvantunes
Website: https://brunoantunes.net
Github: https://github.com/bmvantunes
LinkedIn: / bmvantunes
Смотрите видео Next.js Building a Car Trader App #2: Car Details Page using getServerSideProps онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Bruno Antunes 07 Май 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,972 раз и оно понравилось 206 людям.