You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this amazing plugin.
My current setup is to using Next 14.2.2 with react query. I need to use the fetch methods in server side (react hooks dont work in SSR). but because they are all in same file, i get SSR error as it import client side components. An option to seperate the files will be great thankyou.
The text was updated successfully, but these errors were encountered:
essuraj
changed the title
Seperate fetchMethods and react-query hooks in separate files
Seperate fetchMethods and react-query hooks in separate files to use in server and client side
Apr 30, 2024
essuraj
changed the title
Seperate fetchMethods and react-query hooks in separate files to use in server and client side
Seperate fetchMethods and react-query hooks in separate files to use in server and client side - Nextjs
Apr 30, 2024
Thanks for this amazing plugin.
My current setup is to using Next 14.2.2 with react query. I need to use the
fetch
methods in server side (react hooks dont work in SSR). but because they are all in same file, i get SSR error as it import client side components. An option to seperate the files will be great thankyou.The text was updated successfully, but these errors were encountered: