Design your database using the exact syntax you need for schema.prisma
My Mode Sonnet
I love building custom keyboards, from selecting a keyboard whose layout suits my preferences to selecting the switches, keycaps, cables and other components. Completing the build and having the final product sitting on my desk is an amazing experience.
Typescript UI Component
Have you ever wanted to build a component that could dynamically output tags depending on that parameters used when calling the component? Let's take a look at one way to structure your component that is easy to implement and easier to maintain.
Create T3 App
create-t3-app combines Next, tRPC, Prisma and Tailwind for a full stack application that is a dream to work with.
Avoiding useEffect with callback refs
Skip useRef+useEffect in favour of useCallback
More Inferring Typed with zod
Another, more detailed example of inferring types using zod, and validation API data as you do.
FNM - Alternative to NVM
Fast and simple Node.js version manager, built in Rust
Oh Shit, Git!?!
Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible.
TypeScript Deep Dive
TypeScript Deep Dive is a solid resource for referencing TypeScript related stuff.
Neetcode is a great site covering 150 question from Leetcode, including great videos on how to solve and code examples.
Map Object to select component instead of nested ternaries
Avoid nested ternaries or if statements and easily render out different components based on state
Preview a React, Vue or SolidJS component right in your IDE. No need for Storybook.