Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Completing this project while using NextJS. Creating a theme switch using useTheme. Using server actions to fetch data from github based on user input which passed to server action using useFormState.
What challenges did you encounter, and how did you overcome them?Creating a theme switch was challenging, however after reading a couple of tutorials i utilisd useTheme from next-themes package. This allowed me to set theme based on users preferred system theme and remember theme choice.
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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