Is it an efficient practice to add new epics lazily inside react-router onEnter hooks?
问题 When using redux-observable with react-router, would it make sense to asynchronously add new epics as per the instructions in the documentation here inside onEnter hooks of react-router during route changes? ./epics/index.js import { BehaviorSubject } from 'rxjs/BehaviorSubject'; import { combineEpics } from 'redux-observable'; import { epic1 } from './epic1' import { epic2 } from './epic2' export const epic$ = new BehaviorSubject(combineEpics(epic1, epic2)); export const rootEpic = (action$,