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.
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!
The code for this project is available here.
Check out the Remix Transition docs here.
Subscribe to get notified of new episodes as they come out.
#Remix #Prisma #Postgres #Linode
Product: Linode, Akamai, Databases, Austin Gil