How to use expo-error-recovery - 2 common examples

To help you get started, we’ve selected a few expo-error-recovery examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github expo / expo / packages / expo / src / launch / withExpoRoot.web.tsx View on Github external
render() {
      const props = {
        ...this.props,
        exp: { ...this.props.exp, errorRecovery: ErrorRecovery.recoveredProps },
      };

      if (__DEV__) {
        return (
          
            
          
        );
      } else {
        return ;
      }
    }
  };
github expo / expo / packages / expo / build / launch / withExpoRoot.web.js View on Github external
render() {
            const props = {
                ...this.props,
                exp: { ...this.props.exp, errorRecovery: ErrorRecovery.recoveredProps },
            };
            if (__DEV__) {
                return (
            
          );
            }
            else {
                return ;
            }
        }
    };

expo-error-recovery

Utilities for helping you gracefully handle crashes due to fatal JavaScript errors.

MIT
Latest version published 1 year ago

Package Health Score

75 / 100
Full package analysis

Popular expo-error-recovery functions