Creating Sorting Lists with SQL and Prisma
After adding pagination to the database, we can move on to sorting. In this episode, Austin covers how to set up sorting by using OrderBy properties and create a better experience for the users. The first video in this series is available here https://www.youtube.com/watch?v=wqyHGQlZcws
Chapters:
0:00 - Intro
0:19 - Creating a Sort Order (ASC/DESC)
4:33 - Adding a UI for Sort By/Direction + Styling
11:20 - Mapping Order By properties
16:26 - Adding an EventListener
19:30 - Adding a Client Side Debounce
24:55 - Outro & What’s Next
New to Linode? Get started here with a $100 credit → https://www.linode.com/akatube
The code for this project is available here → https://github.com/AustinGil/npm
Check out the Remix Transition docs here → https://remix.run/docs/en/v1/api/remix#usetransition
Subscribe to get notified of new episodes as they come out → https://www.youtube.com/linode?sub_confirmation=1
#Remix #Prisma #Postgres #Linode
Product: Linode, Akamai, Databases, Austin Gil