Memoization, fetch API and cookies questions
Unanswered
Tibetan Mastiff posted this in #help-forum
Tibetan MastiffOP
Hello,
requests using cookies are dynamically rendered and not stored in cache, all good, but are these requests memoized? If I am calling the same endpoint with a cookie from different components, will it be memoized?
How can I revalidate this data? Lets say I use the DATA from fetch in 2 separate components. I know the data changed so I do refetch in one component to update it, how can I revalidate other too?
requests using cookies are dynamically rendered and not stored in cache, all good, but are these requests memoized? If I am calling the same endpoint with a cookie from different components, will it be memoized?
How can I revalidate this data? Lets say I use the DATA from fetch in 2 separate components. I know the data changed so I do refetch in one component to update it, how can I revalidate other too?