We want to make sure states use the same value type at all times. For instance we don’t want a state to be initialized as null if it will later take on the value of true. When doing this we’ll need to check the logic throughout the app to make sure it will work with any updates we make to the states.
We want to make sure states use the same value type at all times. For instance we don’t want a state to be initialized as null if it will later take on the value of true. When doing this we’ll need to check the logic throughout the app to make sure it will work with any updates we make to the states.