You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some concerns about the recommended file structure for big projects. Im starting one now and Im trying to use RSCSS but i`m struggling with the file structure. The guidelines talk about making one file per component. While this makes sense for me for small/medium projects, sounds like a nightmare for big web applications. Is there any other recommendations, like putting layouts in another folder? combining some components in the same file? Or any other thing that could help
The text was updated successfully, but these errors were encountered:
I use RSCSS with React components, and I keep each component in a separate folder. The structure is roughly like:
ui/
Button/
index.jsx // react component
style.scss // rscss component
// other stuff, like docs, tests, mocks, images, etc.
OtherComponent/
index.jsx
style.scss
pages/
HomePage/
index.jsx
style.scss
styles/ // these are global styles
_reset.scss // html reset
_definitions.scss // global color/font definitions
application.scss // big list of includes. This is what I compile to CSS
I have some concerns about the recommended file structure for big projects. I
m starting one now and I
m trying to use RSCSS but i`m struggling with the file structure. The guidelines talk about making one file per component. While this makes sense for me for small/medium projects, sounds like a nightmare for big web applications. Is there any other recommendations, like putting layouts in another folder? combining some components in the same file? Or any other thing that could helpThe text was updated successfully, but these errors were encountered: