Here is an example of an higher order component that will take care of fetching data. It will show an spinner while fetching the data and will show an error if fetching fails to load.
EloB/hoc-fetch-data
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
| Name | Name | Last commit date | ||
|---|---|---|---|---|