Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 3 years ago

Super todo app using reactjs, vite, styled-components, dnd

react, vite, styled-components
J.D. Browne•870
@PeshwariNaan
A solution to the Todo app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I know the old Todo projects are old news but I really got a lot out of this project. I really try to have good coding practices with react by making everything modular. Using context and reducers cleanly and finding better ways to use styled components. There were a few little tricks that I learned with the styling of this project that I hadn't used before which was a lot of fun. Also this first time that I've implemented drag and drop which I was really wanting to learn.

This app uses local storage which I have use a few times now but not quite like I did in this project. I'm using a reducer and setting the initial state to the data in local storage (if there is any) but I'm not quite sure I'm doing it the right way. The app works fine but my solution seemed too simple and it makes me nervous.

Please take a look and let me know what you think.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on J.D. Browne'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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License