- Notifications
You must be signed in to change notification settings - Fork16
Open
Description
I'm currently working with react-router-redux which defines a LOCATION_CHANGE, however since the library is not using typescript-fsa-reducers, i can't .case() on that action in a reducer.
I want to clear an error message string on every LOCATION_CHANGE action. As a workaround, I have created a "new"actionCreator(LOCATION_CHANGE) in my list of actions for the control this concerns, however, perhaps there is a way to also allow external actions in a .case statement? This would obviously mean loosing type safety. However, react-router-redux does define the propperLocationChangeAction action interface, so perhaps this can be solved with generics?
Metadata
Metadata
Assignees
Labels
No labels