Skip to content
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

React Query: Streaming with Server Components 사용 검토 #2

Open
bepyan opened this issue Jan 15, 2024 · 0 comments
Open

React Query: Streaming with Server Components 사용 검토 #2

bepyan opened this issue Jan 15, 2024 · 0 comments

Comments

@bepyan
Copy link
Collaborator

bepyan commented Jan 15, 2024

공식문서에서 react query를 next app router에 바로 사용하기 보단, 먼저 fetch로 서버 컴포넌트 통신을 해보고 정말 필요할 때 이를 써보라고 하더라.

If you are just starting out with a new Server Components app, we suggest you start out with any tools for data fetching your framework provides you with and avoid bringing in React Query until you actually need it.

https://tanstack.com/query/v5/docs/react/guides/advanced-ssr#data-ownership-and-revalidation

그래서 따라서 먼저 RSC + fetch를 먼저 경험해보고, 여유될 때 Streaming with Server Components를 시도해보는 것이 좋을거 같아서 미리 이슈를 만들어 둘게.

@bepyan bepyan changed the title tanstack-query (+ fetch) React Query: Streaming with Server Components 검토 Jan 15, 2024
@bepyan bepyan changed the title React Query: Streaming with Server Components 검토 React Query: Streaming with Server Components 사용 검토 Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant