ionic-enterprise / ionic-training-decks

The Customer Success team's enterprise level training decks
MIT License
24 stars 6 forks source link

Training: Ionic Framework + React #37

Closed eric-horodyski closed 4 years ago

eric-horodyski commented 4 years ago

What this PR includes:

Updates to the Ionic Framework + React training:

  1. Using React Form Hook as the form library of choice (easily integrates with Ionic Framework input components).
  2. Using axios as the HTTP client library of choice (to build HTTP interceptor injecting authorization token).
  3. Better authentication state management:
    1. Showing the splash screen until the user has a determined authenticated state on device.
    2. Showing a "Loading..." element until the user has a determined authenticated state on web.
    3. State management build with React Context API, useReducer, and abstracted custom hook.
  4. Better unit testing.