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
Great plugin btw!. I've been using next-pwa for my recent projects, and I found this plugin very helpful.
So on my /blog page, I set revalidate props to 60 on getStaticProps.
exportconstgetStaticProps: GetStaticProps<BlogPageProps>=async()=>{// other stuff doing their jobreturn{props: {// data passed to page},revalidate: 60// wil run after every 60 seconds}}
I am sorry for my bad English, but what I'm trying to say here is does next-pwa will automatically update it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Great plugin btw!. I've been using
next-pwa
for my recent projects, and I found this plugin very helpful.So on my
/blog
page, I set revalidate props to60
ongetStaticProps
.I am sorry for my bad English, but what I'm trying to say here is does
next-pwa
will automatically update it?Beta Was this translation helpful? Give feedback.
All reactions