Building the event list components

Let's now think about which React components we will need for our event list. The following diagram shows an overview of the components that we will be building:

An overview of the components that the event list will be built of

These components will have the following responsibilities:

  • The EventListContainer component will be responsible for loading the event list from the backend service and managing the event list in its own state. It will then pass the current set of events down to the props of the EventList component.
  • The EventList component will be responsible for rendering the container in which the ...

Get Cloud Native programming with Golang now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.