Hooks Considered Harmful
I work in an infra team in a large codebase for Microsoft. We are the people who do the sort of bug-analysis to figure out what technologies work well and what needs improvements.<p>Hooks are a constant area of struggle and people make tons of mistakes (forgetting to cleanup a useEffect, useState closures, and needless useCallback are the top 3) with it.<p>I dare say that if we didn&#x27;t have MobX things would have been much much worse.<p>The annoying bit is that other frameworks like Vue or Solid have MobX like Reactivity baked in which makes things much much simpler.