React.js
React Custom Hooks: Patterns That Clean Up Your Components
Your components are doing too much. Custom hooks let you yank the logic out and reuse it everywhere. Here are the ones I keep coming back to.
39 articles found
Your components are doing too much. Custom hooks let you yank the logic out and reuse it everywhere. Here are the ones I keep coming back to.
I got tired of writing try-catch in every async function. Here are four patterns I've collected over the years -- from Go-style tuple returns to retry logic -- that keep error handling clean without hiding failures.
Two million packages on npm and most of them are junk. Here are 12 I've actually used in production, with honest notes on why they earned a spot in our stack.