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/server-rendering-and-react-query/ #6

Open
utterances-bot opened this issue Apr 13, 2024 · 0 comments
Open

react/server-rendering-and-react-query/ #6

utterances-bot opened this issue Apr 13, 2024 · 0 comments

Comments

@utterances-bot
Copy link

[React-Query] 서버에서 prefetching 한 데이터 사용하기

Next.js나 Remix 같은 프레임워크 내에서 React-Query를 사용한다면, 서버 렌더링 될 때 요청 후 응답받은 데이터를 SPA 방식으로 전환되고 나서도 유지할 수 있을까요? 어떻게 가능할까요? React Query의 hydrate와 dehydrate는 서버에서 미리 가져온 데이터를 클라이언트

https://soobing.github.io/react/server-rendering-and-react-query/

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