Error: It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.
import { createStore, compose, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import reducers from '../reducers';
const composeEnhancer = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const store = createStore(
reducers,
composeEnhancer(applyMiddleware(thunk)),
);
export default store;
Also in JavaScript:
- javascript this = that
- render image url in react native
- react native scrollview
- strict equality
- jquery add input placeholder
- string json to object c#
- React hooks update parent state from child
- javascript keypress backspace not working
- sqrt javascript
- javascript console error
- kendo grid add line javascript
- how to create array in javascript
- jquery get the parent node
- eslint version check in react
- post fetch call
- Angular comment
- push javascript
- popper js example
- postfix date javascript
- chartjs start at 0
- random number generator js
- javascript for group object properties based on another property
- javascript submit form when enter key pressed
- how to use fetch() to fetch an image from database in js