I never got the appeal of state management in React. People now seem to rave about Svelte, because you can just do 'count += 1'. But you could do exactly this already in Angularjs (which, just like Svelte, had a template language). Ok, Angularjs worked different under-the-hood than Svelte. It was a dirty checking loop instead of compiler-generated change indicators, which didn't scale as well. But other than this sca…
Svelte instead opts for compile-time magicks to handle state.
Angular uses decorators to manage state. This has turned out to be an unwise descision because javascript decorators have changed in spec since then.