Skip to content

philipHinch/world_countries_react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

World Countries React

This app will display all the information of all the countries in the world. You can sort them by name, population, area and capital. Clicking on the country will display extra information. Choose to display the countries between grid-view or row-view in desktop.

This is a remake of my vanilla javascript world-countries app I did a while ago. Here.

View Project

Inspired by Asabeneh - world-countries-data

This is an image

Technologies used:

  • React Hooks
  • Mapbox GL JS
  • Context API
  • High Order Functions (sort, filter, map)
  • Fetch API
  • Asynchronus Programming
  • CSS Animations

This is an image

What I've learnt:

  • Do not modify original data. I found out that filtering the original data and then saving it back to context was not a good idea.

This is an image

Grid Layout: This is an image Row Layout: This is an image Ipad Layout: This is an image Mobile Layout: This is an image Other: This is an image Other: This is an image Other: This is an image Other: This is an image

View Project