This is a backend project that aims to help us reduce the number of state-related bugs in the app by dramatically reducing and simplifying data structures.
Right now, we handle data as we get it with very little centralization and type checking. Even though the keys in objects are typed, it's still hard to know what the source of truth is.
By transforming data out of API responses into objects and then using those objects consistently in state, we hope to reduce the complexity of working in various components and managing state.
This is a backend project that aims to help us reduce the number of state-related bugs in the app by dramatically reducing and simplifying data structures.
Right now, we handle data as we get it with very little centralization and type checking. Even though the keys in objects are typed, it's still hard to know what the source of truth is.
By transforming data out of API responses into objects and then using those objects consistently in state, we hope to reduce the complexity of working in various components and managing state.