- 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!
-
Notifications
You must be signed in to change notification settings - Fork 0
Our Tours
musatirgithub/OurToursReact
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Our Tours
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published