Since a few months Iâve stopped using Reactâs setState on all my new React components. Donât get me wrong, I didnât stop having local component state, I just stopped using React to manage it. And itâs been delightful! Using setState is tricky for beginners. Even experienced React programmers easily introduce subtle bugs when using Reactâs own state mechanism, like this: Bug introduced by forgettin
{{#tags}}- {{label}}
{{/tags}}