
Response Social Links page
Design comparison
Solution retrospective
I learned how to setup a tailwind CSS project with react + vite + typescript.
Main challenge was to get started with the tailwind CSS that I tried for the first time.
What challenges did you encounter, and how did you overcome them?Main challenge was to setup the project configuration in vite and tsconfig file for tailwind css.
Community feedback
- @clakrPosted 2 months ago
Hi! 🙋♂️ Congrats on completing the challenge.
I suggest moving the variable
buttons
outside of theApp
component so it doesn't need to be recreated every time theApp
re-renders, maybe a bit irrelevant since the value isn't big of a data but I think it's a good practice to start a habit of saving processes when re-rendering ;)When iterating an element in React, it's best to have a
key
with a unique value attribute in the elements since this also saves processes of diffing the DOM tree when the App re-renders.I've been using Tailwind for a while now and I am curious what's your experience of using it in this project?
If you have questions, concerns, feel free to bump me through this thread! 😁
0
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