-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
import {browserHistory} from 'react-router';
import {createStore, compose} from 'redux';
import createTransitionEnhancerFromHistory from 'redux-history-transitions';
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const store = createStore(
state => state,
{},
composeEnhancers(
createTransitionEnhancerFromHistory(browserHistory)
)
);
store.dispatch({type: 'myAction'});
This causes Uncaught RangeError: Maximum call stack size exceeded
as redux-history-transitions' dispatch
continually calls itself. This does not occur when not using the extension or when only using other enhancers such as applyMiddleware
and not redux-history-transitions. This also does not occur when using redux-devtools without the extension.
Metadata
Metadata
Assignees
Labels
No labels