Code organization
File Structure
Queries
Some queries will be reused throughout the application and this reuse should be encouraged and easily discoverable.
Other queries will be view specific.
In order to accommodate both use cases, we the file structure will have a queries folder with a shared subfolder. View specific queries should us the name of the component in which they are used.
.
βββ queries
β βββ shared
β β βββ projectAssets.js
β βββ NewProject.jsLast updated
Was this helpful?