Myvideo

Guest

Login

Building a Car Trader App #3: Filters based on URL querystring with Formik

Uploaded By: Myvideo
4 views
0
0 votes
0

We will create 3 dropdown filters based on the URL querystring. When the page loads, we will check if the URL contains any filters in the querystring, if it does we select by default that value in the dropdown. We will use getServerSideProps to load all the makes. Material-ui is being used for style. The Make, min price and max price are dropdowns / material-ui Select. The next description is a “Copy-paste“ from Blog Post 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. ... #BrunoAntunesPT #javascript # #ReactJS # #Nextjs_Tutorial #Nextjs_for_beginners # #React_nextjs #javascript_for_beginners 20200512 b7XLYkqJ5uY

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later