File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ conventions to help people to navigate through it.
52
52
- ** @types ** - Custom types for dependencies that don't have defined types
53
53
(largely code that has no server-side equivalent)
54
54
- ** api** - API code as function calls and types
55
+ - ** queries** - react-query queries and mutations
55
56
- ** components** - UI components
56
57
- ** hooks** - Hooks that can be used across the application
57
58
- ** pages** - Page components
58
59
- ** testHelpers** - Helper functions to help with integration tests
59
60
- ** util** - Helper functions that can be used across the application
60
- - ** xServices** - XState machines used to handle complex state representations
61
61
- ** static** - Static UI assets like images, fonts, icons, etc
62
62
63
63
## Routing
@@ -93,9 +93,9 @@ a `*.stories.ts` file.
93
93
94
94
## Fetching data
95
95
96
- We use
97
- [ TanStack Query v4 ] ( https://tanstack.com/query/v4/docs/react/overview ) (previously
98
- known as react-query) to fetch data from the API .
96
+ We use [ TanStack Query v4 ] ( https://tanstack.com/query/v4/docs/react/quick-start )
97
+ to fetch data from the API. The queries and mutation should be placed inside of
98
+ the api/queries folder when it is possible .
99
99
100
100
### Where to fetch data
101
101
You can’t perform that action at this time.
0 commit comments