Skip to content
Submitted almost 4 years ago

REST Countries API with dark mode (React/Vite/styled-components/TS)

react, styled-components, typescript, vite
P
LVL 3
@viniciuscosta89
A solution to the REST Countries API with color theme switcher challenge

Solution retrospective


I started this challenge with Next.js. But I got some issues with localStorage because of its SSR. So I moved to Vite + React.

Most of my difficulties were with Typescript stuff and Context API. I had to take look online to better understand them and finish this challenge.

I plan to use Frame Motion for page transitions.

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Vinicius Costa’s solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord