Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite4d7b0b

Browse files
docs: update FE guide (#10942)
1 parent2b574e2 commite4d7b0b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎docs/contributing/frontend.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ conventions to help people to navigate through it.
5252
-**@types** - Custom types for dependencies that don't have defined types
5353
(largely code that has no server-side equivalent)
5454
-**api** - API code as function calls and types
55+
-**queries** - react-query queries and mutations
5556
-**components** - UI components
5657
-**hooks** - Hooks that can be used across the application
5758
-**pages** - Page components
5859
-**testHelpers** - Helper functions to help with integration tests
5960
-**util** - Helper functions that can be used across the application
60-
-**xServices** - XState machines used to handle complex state representations
6161
-**static** - Static UI assets like images, fonts, icons, etc
6262

6363
##Routing
@@ -93,9 +93,9 @@ a `*.stories.ts` file.
9393

9494
##Fetching data
9595

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.
9999

100100
###Where to fetch data
101101

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp