Timo
UseState with a state coming from a db
if you simply want to display the players of the db try
and in your component
this approach does not use global state but it seems like it suits your needs.
useFetch deduplicates the requests automatically, so on page load all components will trigger only one request. more here
10 replies