Skip to content

feralonsomaccari/what-country

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What Country

Site where you can find the flag of any country in the world and read some summary about the one you like. This is a front-end only app Made with ReactJs

Live site: https://feralonsomaccari.github.io/what-country/


Why?

I created this project to learn more about Lazy Loading.

Here Im addressing an optimization problem that happens when you try to load in the DOM a large set of data. In this case we have 250 countries and each one of them has its own Component, so It will be very slow to rendem them all at once. So to address this Im only drawing the ones that are visibles in the screen. The result its very smooth no matter the number of entries you could have.

API used https://restcountries.com/.


Local Setup

$ npm install
$ npm run test
$ npm run start

About

React app for searching countries and reading some summary about them.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published