Closed bloodzmoon closed 3 years ago
After re-structure I think we should have linter in our project something like prettier 🤔
Sorry I think I can't fix all that linting error 😢 because it will affect the rendering of HTML I think It has to carefully re-write to fix the error
Awesome @bloodzmoon ! Can you change base branch to css-structured and I will merge it with master later on.
Awesome @bloodzmoon ! Can you change base branch to css-structured and I will merge it with master later on.
Yes! Thanks for the opportunity 😋
112 I've done it.
I choose CSS Module for each component to prevent the duplicate class name bug and the reason why I choose is because It's already built in with the create-react-app so we can use it without installing any extra module or do extra configuration. 😎
I've re-structure each component into
And I've moved others css, js, images, fonts and webfonts folder into the assets folder
Also I've create utils folder and create my
CSSModuleMapper
function there when using multipleCSS Module
class instead of typing many class in string literalWe can now use it like this