You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could use the class method for type safe state and then also conform dictionary to the necessary protocols to make it usable as lightweight unsafe state should people want it
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.
The text was updated successfully, but these errors were encountered: