src/createRouteDispatchers.js
Function createRouteDispatchers
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
export default function createRouteDispatchers(routeConfig, actionNames, options = {}) {
invariant(Array.isArray(routeConfig), 'routeConfig expects an array of routes');
const dispatchOpts = Object.assign(
{ routeComponentPropNames: DEFAULT_COMPONENT_PROP_NAMES },