Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

139
Views
Conversión de redux a kit de herramientas redux

Reaccione aquí como principiante, aprendiendo mediante la codificación, necesito ayuda/consejos para convertir esta tienda de Redux en un kit de herramientas de Redux, aquí estoy usando una función llamada configureStore, ¿cuál es una buena manera de cambiar esto para usar 'configureStore' que proviene de '@reduxjs? /toolkit' esto es para aprender que 'createRootReducer' proviene de mi reducers.js que combina

 const createRootReducer = (history) => combineReducers({ articles: articlesReducer, selection: selectionReducer,

});

agradecería cualquier ayuda/consejo. mi tienda.js:

 import { createBrowserHistory } from "history"; import { createStore, compose, applyMiddleware } from "redux"; import thunk from "redux-thunk"; import { routerMiddleware } from "connected-react-router"; import createRootReducer from "./reducers"; export const history = createBrowserHistory(); const storeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; export default function configureStore(preloadedState) { const store = createStore( createRootReducer(history), preloadedState, storeEnhancers(applyMiddleware(routerMiddleware(history), thunk)) ); return store; }

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!