zalmoxisus / remote-redux-devtools

Redux DevTools remotely.
http://zalmoxisus.github.io/monitoring/
MIT License
1.8k stars 138 forks source link

No store found. #94

Open anny1895 opened 7 years ago

anny1895 commented 7 years ago

I am not able to integrate dev tools for redux with navigator. Here is my store config file.I don't know what I am doing wrong.

I have added chrome extention but always get 'No store found'.


import ReduxThunk from 'redux-thunk';
import { NavigationReducer, createNavigationEnabledStore } from '@expo/ex-navigation';
import UserReducer from './userReducers'
import { composeWithDevTools } from 'remote-redux-devtools';

const composeEnhancers = composeWithDevTools({ realtime: true, port: 8000 });

const createStoreWithNavigation = createNavigationEnabledStore({
    createStore,
    navigationStateKey: 'navigation',
});

const Store = createStoreWithNavigation(
    combineReducers({
        user:UserReducer,
        navigation: NavigationReducer,
    }),
    composeEnhancers(
        applyMiddleware(ReduxThunk),
        // other store enhancers if any
    )
);
export default Store;
lykfe commented 7 years ago

Bump, I've also have tried to set the port to the port that react native debugger use and still nothing.

zalmoxisus commented 7 years ago

You should click Remote DevTools button from the bottom, then in that new window click on Settings and set your port. If you indicate the port, it means that you're running remotedev-server. You can try without that at least to check that everything works. Additionally you can use web app instead of the extension.

lykfe commented 7 years ago

@zalmoxisus thank you! that worked. I have no idea why I missed this info. Is this even mentioned in this doc?

imod commented 6 years ago

@zalmoxisus what do you mean with

You should click Remote DevTools button from the bottom, then in that new window click on Settings and set your port.

where should I click the button? where can I set the port? I can't find anything in the chrome extension... the web app you point to, works - but not with the chrome extension

mekaseymour commented 6 years ago

@imod you can also right click in Chrome then select Redux DevTools > Open Remote DevTools

jibopoly commented 6 years ago

@zalmoxisus. Thanks a lot, you fixed my issue. Life is so much easier when redux dev tools is working. No more console.log(state)