#Should I use React-Query with ISR pages?

6 messages · Page 1 of 1 (latest)

scenic wolf
#

title

#

I don't know if regular getserversideprops with revalidate has a strong builtIn cache, for pages that change weekly, is react query a good idea?

candid mica
#

you mean getStaticProps?
getServerSideProps is for SSR on every request

#

there is no caching with getServerSideProps by default, afaik

scenic wolf
#

so if theres no caching i guess react query would improve performance?