#React Code check

2 messages · Page 1 of 1 (latest)

quick thunder
#

well i did his as a challenge for a youtube tutorial his solution is very elaborated and contains so many components but I did it like this so I wanted to ask is this ok

royal musk
#

If u like to use, async and await

U can reduce the code further, there will be no need of 3 fetches and can be done using one async function.

For the map thing, i think it's ok, i will look forward if someone gives better solution.