TheWidlarzGroup / errors-handling-with-notificated

This app is a part of an article Errors Handling with RN Notificated. Presents few approach to errors handling in modern react native apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-notificated twg

Example of handling errors in React Native app.
Part of an article "Errors handling with RN Notificated".


Description

This app is a part of an article Errors handling with RN Notificated. Presents few approach to errors handling in modern react native apps, and show how to use:

  • react-native-notificated
  • react-error-boundary
  • axios interceptors
  • try catch block


Installation:

  • Clone the repo
  • Run yarn from the root
  • Run cd ios && pod install && cd ..
  • Run the metro with yarn start
  • Open the app either in a simulator with yarn ios / yarn android or on a physical device

Checkpoints:

  • Checkpoint #1 - describe most common errors type in react native app
  • Checkpoint #2 - handle component render method errors with react-error-boundary library
  • Checkpoint #3 - handle events errors with try catch block
  • Checkpoint #4 - handle SSR errors with axios interceptors
  • Checkpoint #5 - errors handling with react-native-notificated

About

This app is a part of an article Errors Handling with RN Notificated. Presents few approach to errors handling in modern react native apps.

License:MIT License


Languages

Language:Java 35.4%Language:JavaScript 24.7%Language:C++ 15.8%Language:Objective-C++ 10.1%Language:Objective-C 5.4%Language:Makefile 3.4%Language:Ruby 2.8%Language:Starlark 1.4%Language:Shell 1.1%