Posts About "react"See All Posts
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.
Adding ETag Support to RemixPublishedReading time: 6 minutes
Learn 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 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.