State is bad because it removes type safety and forcing the user to use string keys makes the whole system extremely prone to typos.
The second point is solved slightly by using constants, but there's no way to enforce that right now.
Will update this with more info. Experimentation will be happening in the StateExperimentation branch.
State is bad because it removes type safety and forcing the user to use string keys makes the whole system extremely prone to typos.
The second point is solved slightly by using constants, but there's no way to enforce that right now.
Will update this with more info. Experimentation will be happening in the StateExperimentation branch.