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

162
Views
No se puede encontrar Redux Store en Redux Dev Tools

Estoy tratando de depurar esta aplicación de chat, pero no puedo abrir Redux Dev Tools. Acabo de recibir un mensaje en la consola redux que dice "No se encontró ninguna tienda. Asegúrate de seguir las instrucciones".

La aplicación no utiliza Redux Toolkit.

¿Qué tiene de malo esta tienda?

/tienda/index.js

 import { createStore, applyMiddleware, combineReducers } from "redux"; import loggerMiddleware from "redux-logger"; import thunkMiddleware from "redux-thunk"; import user from "./user"; import conversations from "./conversations"; import activeConversation from "./activeConversation"; const CLEAR_ON_LOGOUT = "CLEAR_ON_LOGOUT"; export const clearOnLogout = () => { return { type: CLEAR_ON_LOGOUT, }; }; const appReducer = combineReducers({ user, conversations, activeConversation, }); const rootReducer = (state, action) => { if (action.type === CLEAR_ON_LOGOUT) { // set state to initial state state = undefined; } return appReducer(state, action); }; export const store = createStore( rootReducer, applyMiddleware(thunkMiddleware, loggerMiddleware) ); console.log(store.getState()); export default store;

Este es el error registrado en la consola.

 action SET_MESSAGE @ 10:32:54.246 redux-logger.js:1 prev state Object { user: {…}, conversations: (2) […], activeConversation: "hualing" } redux-logger.js:1 action Object { type: "SET_MESSAGE", payload: {…} } redux-logger.js:1 error TypeError: message is undefined addMessageToStore reducerFunctions.js:15 addMessageToStore reducerFunctions.js:14 reducer conversations.js:77 combination Redux rootReducer index.js:27 Redux 4 postMessage thunkCreators.js:103 middleware Redux postMessage Input.js:61 handleSubmit Input.js:38 React 14 unstable_runWithPriority scheduler.development.js:468 React 15 js index.js:7 js main.chunk.js:4097 Webpack 7 redux-logger.js:1 next state Object { user: {…}, conversations: (2) […], activeConversation: "hualing" }
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!