Tweet by @shuding_
In the latest `swr@beta`, you can seamlessly move data fetching between client-side and server-side, or both, in an RSC framework like Next.js:
🔸Client only: useSWR(key, fetcher)
🔹Mixed: useSWR(key, fetcher) + RSC-provided data
🔸Server only: useSWR(key) + RSC-provided data https://t.co/UOqZ8XXEh2
— Shu (@shuding_)
May 25, 2024