Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

yarn redux devtool

import { createStore, applyMiddleware } from 'redux';
import { composeWithDevTools } from 'redux-devtools-extension';

const store = createStore(
  reducer,
  composeWithDevTools(
    applyMiddleware(...middleware)
    // other store enhancers if any
  )
);
Source by yarnpkg.com #
 
PREVIOUS NEXT
Tagged: #yarn #redux #devtool
ADD COMMENT
Topic
Name
6+5 =