Use generators for magic in React
Dec 25, 2024 · 5 min read · Let me put it straight: you're overdosing on hooks. Even your IDs and keys are living as state in your React app. useState hooks trigger a side effect of updating the virtual DOM whenever the state changes. Storing irrelevant data as state is bad for...
Join discussion
