I'm not happy with how we decide to show modals for the management UI. The biggest issue is that our Redux action creators depend on our state, which means that state depends on actions and actions depend on state. It also relies on creating actions that essentially describe the state transition rather than the user action that occurred (Redux style prefers the latter).
This is something we really ought to fix before we start relying on it too heavily, but it's going to take a bit of research to figure out what the best way to do it is. Maybe redux-saga would be better than redux-thunk...?
I'm not happy with how we decide to show modals for the management UI. The biggest issue is that our Redux action creators depend on our state, which means that state depends on actions and actions depend on state. It also relies on creating actions that essentially describe the state transition rather than the user action that occurred (Redux style prefers the latter).
This is something we really ought to fix before we start relying on it too heavily, but it's going to take a bit of research to figure out what the best way to do it is. Maybe
redux-saga
would be better thanredux-thunk
...?