zalmoxisus / remote-redux-devtools

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

Warn instead of erroring when connection fails #18

Closed corbt closed 8 years ago

corbt commented 8 years ago

Currently, if the remote devtools aren't able to access the server they log an error. This shows up as a prominent redbox in React Native, blocking the ability to interact with the app (see https://github.com/zalmoxisus/remote-redux-devtools/issues/4).

Since not connecting to the redux debug server isn't an app-crashing event, this would be more appropriate as a YellowBox, which is triggered by console.warn. This way a user can also ignore that error (in the case where they know that the devtools won't be able to connect and are ok with that, such as running on a device or with a local server that isn't running).

zalmoxisus commented 8 years ago

Thanks.