Create a simple React application that displays a list of countries and their capitals.
The application should have the following features:
- The list of countries and capitals should be fetched from an API.
- The list should be displayed in the 'CountriesPage'.
- Each country should be displayed in a separate component. -The user should be able to filter the list by capital.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh