sometimes i prefer add a pages floder, the pages components in their floder, common components save in globals components floder
about the code save way. some util code not too much reuse, how to use save those utils code in your project?
Yup, sometimes I changed my containers folder to pages folder and all my pages or screen related components sits there. And all of the reusable components are located inside components folder. Ex:
containers
pages
components
src/ components/ Button/ index.tsx style.ts Card/ index.tsx style.ts containers/ Homepage/ index.tsx style.ts Profile/ index.tsx style.ts
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
sometimes i prefer add a pages floder, the pages components in their floder, common components save in globals components floder
about the code save way.
some util code not too much reuse, how to use save those utils code in your project?
Yup, sometimes I changed my
containers
folder topages
folder and all my pages or screen related components sits there. And all of the reusable components are located insidecomponents
folder. Ex: