siit-webdev-47 / treasure-hunt-game

1 stars 0 forks source link

Fetching questions from the-trivia-api.com #23

Open Adrian-Moldovan opened 2 weeks ago

Adrian-Moldovan commented 2 weeks ago

API: https://the-trivia-api.com/docs/v2/

We should consider fetching all the questions and responses upon creating the map. The implementation should not be coupled with the app (create a separate function that provides the data).

We should consider a dependency injection in case the source will change.

RaresGherasim commented 1 week ago

Created inside generateMapTile component because asyncronous function