Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Any tips for Recoil with SSR(Next.js)? #2026

Answered by tpatalas
jiwoo-choi asked this question in Q&A
Discussion options

You must be logged in to vote

Why don't you use Atom Effect if you want to refetch the data? I personally think fetching through Atom Effect is much powerful than just using selector (which is one way data flow, read-only).

https://recoiljs.org/docs/guides/atom-effects

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jiwoo-choi
Comment options

@tpatalas
Comment options

@jiwoo-choi
Comment options

Answer selected by jiwoo-choi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants