time tracking dashboard using React and Styled Components
Design comparison
Solution retrospective
Having an hard time passing setState between components, will come back to this when I have a solution. Any suggestion is appreciated.
Community feedback
- @jasonameyPosted over 2 years ago
Hi Esdra!
I did a little refactor and got the code working without an error. If you want to take a look, I forked your repo here :
https://github.com/jasonamey/time-tracking-dashboard-react
The changes are under "refactor with context provider"
You can also see the code working here :
https://www.youtube.com/watch?v=bAfnE6NqUf8&ab_channel=JasonAmey
I communicate to you in the code, and tried to add some notes about the changes with :
//JASON HERE :
I used a common pattern for Context that I've seen quite a bit. Hopefully you can follow the refactor...
Take care!
Marked as helpful1
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