Design comparison
SolutionDesign
Solution retrospective
Questions:
- When using SCSS modules for each component, should I name the module with "_name.module.scss" or underscore is not necessary?
- Is it a good idea to break the app into as many components as possible?
- If you have your own feedback ideas I would appreciate it.
Description:
I did this project with React and SASS, no other libraries were used( excluding linters ). I used localstorage to save URLs.
Thanks!
Community feedback
- @DonUggioniPosted over 1 year ago
Hey there,
As far as I know, you don't need to use underscore to name a css module with React.
You can create as many components as you'd like, there is no set rule for that. One consideration you can have when creating components is if the project will grow and the same components will be used in many different places.
Happy coding 🤓
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