![]() ![]() We'll use create-react-app to set up our project because it offers a modern build setup with no configuration at all. By the end of this tutorial hopefully you will learn how to search through an API and return only the queried results with React. "name": "Union of South American Nations", Then we'll provide a way for users to easily search for specific countries by their names and capitals. Here is an example of the response for a particular country: "name": "Colombia", Table Of Contentsįor this tutorial we will be using the free REST COUNTRIES API provided by Apilayer.īasically we will fetch the data from our API endpoint and display the data in a user readable form. ![]() And if you are getting tons of items from an API, then you need to create a way for users to be able to find various items easily.įor this tutorial we are going to be using one of Frontend Mentor's free advanced API projects as an example. If you're building a React app, you want your users to be able to search and get exact results. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |