TTDashboard, Live Data with SWR and Styled with Tailwind

Solution retrospective
I'm proud of implementing SWR for efficient data fetching, ensuring the dashboard updates dynamically without excessive network requests. The use of Tailwind CSS made styling intuitive and maintainable.
Next time, I would explore alternative state management solutions(specially Zustand) to improve performance.
What challenges did you encounter, and how did you overcome them?One of the biggest challenges was configuring Webpack properly to bundle scripts for deployment on Vercel. Since Webpack setup can be complex, ensuring everything integrates smoothly required troubleshooting and fine-tuning.
Another challenge was dealing with Tailwind's purging mechanism. To ensure dynamic classes aren't removed, I created a hidden-classes.html
file to reference all the necessary dynamic Tailwind classes. However, I'm unsure if there's a better way to handle this, as it feels like a workaround rather than an optimal solution.
Any suggestion about any aspects of the project would be appreciated.
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@JeronimoCardu
Good!!!
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