/React-Native-Login-Example

A simple module demonstrating how to login to a Rails server retreiving auth token

Primary LanguageJavaScript

key understandings

  • Making a fetch request in componentDidMount() using async/await.
  • Understanding how to resolve promises from async function.
  • Storing results in state
  • refactor out components