Thank you for developing the Rest Countries API app! It has a lot of useful features, but I noticed a few areas that could enhance the functionality and user experience:
404 Error on Reloading the Details Page:
When I navigate to the details page of a country and then refresh the page, a 404 error occurs. This issue interrupts the user experience, especially for those who might reload the page by accident or out of habit. It would be helpful if the app handled page reloads on country detail pages without showing an error.
Search Functionality Within Regions:
I observed that after selecting the Asia region, if I search for a country in Africa, no results are displayed, which is expected. However, displaying a message like "No results found" or a similar notification could improve the UX by clarifying why no countries appear in the search.
Dark Mode Text and Icon:
When switching to Dark Mode, I noticed the theme updates correctly, but the button text and icon remain as "Dark Mode." Updating these elements to reflect the active mode (e.g., switching to "Light Mode" with a corresponding icon) would make the toggle more intuitive and consistent for users.
Thank you for considering this feedback! I’m looking forward to seeing these improvements in future updates.