/SafeState

React Native wrapper for setState to prevent state manipulation on unmounted components.

Primary LanguageJavaScript

SafeState

React Native wrapper for setState to prevent state manipulation on unmounted components.

This is a working example of the npm package safe-state. You can install it here.

You can find the code for safe-state here.