react-native-debugger: RND freezes after connect

When i try to connect to react native debugger, console region freezes, DOM view and Redux DevTools a still work.

Video: http://take.ms/nMu5U

import { createStore, applyMiddleware, compose } from 'redux';
import reducers from '../reducers';
import thunk from 'redux-thunk';

function configureStore(initialState) {
  let enhancer;
  if (global.__DEV__) {
    const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
    enhancer = composeEnhancers(applyMiddleware(thunk));
  } else {
    enhancer = compose(applyMiddleware(thunk));
  }
  const store = createStore(reducers, initialState, enhancer);
  return store;
}

const store = configureStore();

export default store;

react native debugger: 0.5.5

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 6
  • Comments: 33 (10 by maintainers)

Most upvoted comments

@jhen0409 I had try v0.6.0-beta1 and it works fine. Thanks you~

Both updating and removing sourcemaps (either) seems to work. Good job @jhen0409 !

I somehow manage to figure out how to prevent freezing. It seems to happen when I added "sourceMaps": true in my .babelrc. After I remove that line and restart packager, it all go well again.

Test this on a few machines running into the same problem and they all work.

Hope this information can be helpful for others who suffering from this…