Open inezabonte opened 3 years ago
Hey @sampoder I was reading your article on how to work with SWR + ISR, I noticed that the initialData option does not exist within the SWR docs and it's also not auto-suggested when I try typing it.
initialData
https://github.com/sampoder/nextjs-isr-swr-example/blob/9942d5f85b90afbba9b198f267d21909011a5690/pages/index.js#L5
Seems like this was changed in https://github.com/vercel/swr/pull/1370
Will update the example code base and will get the article updated
Hey @sampoder I was reading your article on how to work with SWR + ISR, I noticed that the
initialData
option does not exist within the SWR docs and it's also not auto-suggested when I try typing it.https://github.com/sampoder/nextjs-isr-swr-example/blob/9942d5f85b90afbba9b198f267d21909011a5690/pages/index.js#L5