Conditional Rendering in React using Ternaries and Logical AND
UpdatedOriginally publishedReading time: 5 minutesIf you are explicit and always create a boolean, there's no reason not to use a logical AND vs. a ternary for conditional rendering.
Adding ETag Support to Remix
PublishedReading time: 6 minutesLearn what an ETag and If-None-Match are, why they're beneficial to your users, and how to implement them in your Remix application quickly and easily with remix-etag.
SSR Date Formatting in Remix using the User's Locale
PublishedReading time: 5 minutesHow 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 Practices
UpdatedOriginally publishedReading time: 12 minutesClean 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 Hooks
UpdatedOriginally publishedReading time: 10 minutesReact Hooks are live in production. Learn what you need to know to get started using and testing them today.
Spread Love: A Look into JavaScript's Rest and Spread Syntax
UpdatedOriginally publishedReading time: 7 minutesLearn how the new JavaScript rest and spread syntax can simplify your code and reduce visual clutter.