@samcyn
Posted
This is so good. However, I recommend a few things which are by the way unnecessary. Looking at the code, I feel using redux is an over kill, Context API can be a good fit. Also saving the endpoint -"https://restcountries.com/v3.1/all" as env variables will be a good thing. And maybe adding some tests (unit test). Nice work mate.
Marked as helpful
@marcin10lw
Posted
@samcyn Great advice! I created a context for theme and reduced amount of code
@samcyn
Posted
Awesome mate. @marcin10lw