“No store found” when using Redux chrome extension

后端 未结 7 1132
轮回少年
轮回少年 2021-01-11 11:57

I have a problem with redux chrome extension.

I have the following code in my configureStore.js file :

import {createStore, applyMiddleware} from \'         


        
7条回答
  •  佛祖请我去吃肉
    2021-01-11 12:35

    If anyone followed the same (or similar) boilerplate server-side rendering React app setup that I did, you may want to be sure if there are separate server and client files that use createStore(). In my case there were, and I spent a lot of time playing with the server file, when it needed to go into the client file.

    Probably not the best way to do it, but alas, the boilerplate code I used did it that way.

提交回复
热议问题