DEV Community

Discussion on: Using Suspense for Data Fetching Today with SWR

Collapse
 
dance2die profile image
Sung M. Kim

Thank you for the post, Sergio.

I am unable to find useSWRPages on following pages

  1. swr.now.sh/
  2. github.com/zeit/swr

Is it an officially supported feature or an unstable one, not to be used in production?

Collapse
 
sergiodxa profile image
Sergio Daniel Xalambrí

You can see it in the official website here swr.now.sh/#scroll-position-recove....

In the README it's not documented but you can see an example github.com/zeit/swr/tree/master/ex....

There is an open issue about documenting it in the README github.com/zeit/swr/issues/70.

Collapse
 
dance2die profile image
Sung M. Kim

Thank you, Sergio. I am sorry for the carelessness...

Thread Thread
 
sergiodxa profile image
Sergio Daniel Xalambrí

Don’t worry, let me know if you have another question 👍