new Date("0") and new Date(0) aren't the same thing in JavaScript, and that's just the beginning. ES2027 locks in Temporal, using, and more to fix problems like this for good. Continue reading...π
Sharpening your frontend skills, one tip at a time
new Date("0") and new Date(0) aren't the same thing in JavaScript, and that's just the beginning. ES2027 locks in Temporal, using, and more to fix problems like this for good. Continue reading...π
Traditional error wrapping destroys the original error, you lose the stack trace, error type, and all context. Error.cause solves this by preserving everything through multiple layers. Continue reading...π
Ever filtered products or searched in a React app, only to lose everything on refresh? Thatβs where React URL state management comes in. By syncing filters, search queries, and pagination with the URL, you make your app refresh-proof, shareable, and user-friendly. Read more here π
Working with URLs and form data in JavaScript can be challenging. Learn how built-in constructors help you handle these tasks efficiently, with practical examples using URL(), FormData, and TextEncoder. Read more...
Ever found yourself drowning in nested React providers? Here's a simple composition pattern that'll make your code cleaner and more maintainable! Read more... π