redux-saga / redux-saga-devtools

Saga monitor and UI devtool for redux-saga
MIT License
269 stars 39 forks source link

Not working with latest React Native #13

Open brunolemos opened 7 years ago

brunolemos commented 7 years ago

Error 1: Unhandled JS Exception: Expected a component class, got [object Object]. Error 2: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

Andarist commented 7 years ago

@brunolemos @AlexisChevalier could any of u share a repository with reproduced issue no. 1? gonna fix second in a moment

Andarist commented 7 years ago

Cant release the new version with prop-types fix, need to make some cleaning with publishing rights, so it will take a while :s hopefully not much

AlexisChevalier commented 7 years ago

Sure, here's a freshly created RN iOS project with the cancellable counter example roughly adapted to RN : https://github.com/AlexisChevalier/ReduxSagaDevToolsExample (I don't have the time to set up an android environment for now, sorry).

Since the cancellable counter uses a race effect it also covers https://github.com/redux-saga/redux-saga-devtools/issues/16

npm install and react-native run-ios should be sufficient to run if you have an existing RN environment.