We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./src/path/to/import
src/ - views/ - ViewName.jsx - ViewName/ - components/ - ViewName/ - UI/ - Utility/ - Static/ - queries/ - mutations/ - utils/ - assets/ - styles/ - App.jsx - index.js
utils/
styles/
assets/
App.jsx
views/
index.js
queries/
mutations/
queryName.js
mutationName.js
query DescriptiveLabelName($input_name: input_type) { query(input: $input) { return_field } } mutation DescriptiveActionName($input_name: input_type) { mutation(input: $input) { return_field } }
id
/ViewName.jsx
/ViewName/
index.jsx
ViewName.jsx
components/
ViewName/
Category/
UI/
Utility/
<Request />
<Modal />
Static/
ComponentName/
.jsx
The text was updated successfully, but these errors were encountered:
all newsfeed refactoring using the new structure. afterwards converting the remaining code
Sorry, something went wrong.
No branches or pull requests
Goals
Guidelines
./src/path/to/import
Structure
utils/
: shared non component utilities (formatting)styles/
: shared SCSS and configassets/
: shared static assetsApp.jsx
: importviews/
for Routerindex.js
: root export with wrappers and configurationQueries and Mutations
queries/
ormutations/
queryName.js
ormutationName.js
mutations
id
fieldviews/
/ViewName.jsx
/ViewName/
index.jsx
: same asViewName.jsx
components/
ViewName/
: components only used in a single ViewCategory/
: shared components under a common categoryUI/
: base UI components (buttons, cards)Utility/
: utility components (<Request />
,<Modal />
)Static/
: static homepage componentsComponentName/
: complex shared components not necessarily under a view or category (rare)component directories
index.jsx
component definitions within the directories
.jsx
filesThe text was updated successfully, but these errors were encountered: