Design comparison
SolutionDesign
Community feedback
- @GrzywNPosted about 2 years ago
Well done 🙌!
You should name your component file names with the same casing (PascalCase) as component functions. e.g. CardGroup.tsx instead of card-group.tsx. It's fine for hooks, but it's a must for components. It's also worth considering to put each component into separate folder and add index.tsx file so it's possible to import all files from one folder with one import and omit file name.
Have a nice day! Keep up the great work! ✌️
Marked as helpful0
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