TypeScript offers two types that can hold any value: any and unknown. While they might seem similar, they work very differently when it comes to type safety. Continue readong...π
Sharpening your frontend skills, one tip at a time
TypeScript offers two types that can hold any value: any and unknown. While they might seem similar, they work very differently when it comes to type safety. Continue readong...π
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 π
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... π
Ever wished your React components could handle clicks more cleverly? You ever had to go beyond basic onClick? Check how to create custom hooks for precise click handling. Read more... π
Learn how to toggle array items independently, perfect for building expandable sections, accordions, and nested navigation. Demo included, you'll see the technique in action. Check it out...π₯