- I have used an async await function for fetching the data from API,
- By using useEffect hook and an empty dependency I've avoided from reloading data at every render,
- Used a loading page and a useState to store and change loading status,
- Passed handleRemove function as a prop to a component
- By using map function I wrote each tour place to a new Card,
- Gif image of the project is below. 👇 Hope you like the project!