Math.max() without ArgumentsUpdatedOriginally publishedReading time: 3 minutes
Conditional Rendering in React using Ternaries and Logical ANDUpdatedOriginally publishedReading time: 5 minutes
If you are explicit and always create a boolean, there's no reason not to use a logical AND vs. a ternary for conditional rendering.
You may be doing try/catch all wrongPublishedReading time: 3 minutes
I code using const (and why you should too)UpdatedOriginally publishedReading time: 4 minutes
The main benefit of using const vs let is signaling intent.
SSR Date Formatting in Remix using the User's LocalePublishedReading time: 5 minutes
How I achieved consistent date formatting in Remix on both client side and server side rendered React using a LocaleProvider and Intl.DateTimeFormat.
Clean Code vs. Dirty Code: React Best PracticesUpdatedOriginally publishedReading time: 12 minutes
Clean code is a consistent style of programming that makes your code easier to write, read, and maintain. Discover how to make your React code cleaner using easy-to-follow examples.
Intro to React HooksUpdatedOriginally publishedReading time: 10 minutes
React Hooks are live in production. Learn what you need to know to get started using and testing them today.