Fang Jin
May 21, 2021

--

Thanks for the article.

By writing the same client/server line, `useServerEffect` we can get the initial data right.

I wonder how this approach is compared with nextjs `getServerSideProps`. Thanks.

--

--

Fang Jin
Fang Jin

Written by Fang Jin

Front-end Engineer, book author of “Designing React Hooks the Right Way” and "Think in Recursion"

Responses (1)