/react-training

Primary LanguageJavaScriptMIT LicenseMIT

Chats list exercise

In this exercise we will introduce react hooks and learn how to fetch data using http reqeuests

We will be working on the component which will later on connect to authentication mechanisem

Hooks Intro

  • What are hooks?
  • Implementing generic Input component

Implementing Chats component

  • You should implement the chats container
  • Think in React: look at the mock and decide which components you should implement, create a mock data and evantually decide where the state (if such exists) should live
  • Connect to real data: fetch the data from our API via fetch JS object