Skip to content

docs: Add frontend guide #5852

New issue

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

Merged
merged 3 commits into from
Jan 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove unecessary reference
  • Loading branch information
BrunoQuaresma committed Jan 25, 2023
commit b59270d686cdc97d1bed592f13c0dccb7c63d623
2 changes: 1 addition & 1 deletion docs/contributing/frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ We use [TanStack Query v4](https://tanstack.com/query/v4/docs/react/overview)(pr

### Where to fetch data

Finding the right place to fetch data in React apps is the one million dollar question but we decided to make it only in the page components and pass the props down to the views. This makes it easier to find where data is being loaded and easy to test using Storybook - We are going to talk more about our testing strategy. So you will see components like `UsersPage` and `UsersPageView`.
Finding the right place to fetch data in React apps is the one million dollar question but we decided to make it only in the page components and pass the props down to the views. This makes it easier to find where data is being loaded and easy to test using Storybook. So you will see components like `UsersPage` and `UsersPageView`.

### API

Expand Down