delayed-scroll-restoration-polyfill
delayed-scroll-restoration-polyfill copied to clipboard
SSR compatibility
Only changed if statement on 1st line so that the polyfill is not attempted when server-side-rendering, but still triggers after the file renders in the browser. For compatibility with Next.js or other SSR technologies.
Thanks! I'm going to need someone at Brigade merge and release this change (I'm no longer part of the organization).
@SiriusZael, maybe you can take care of merging and releasing this?
Hey, just checking to see if this PR will be merged. I'm hosting a local copy of the repo, since I can't use the node module with Next.js without this PR. Thanks!!
Let's ping some folks to see if we can get this merged and released! @eleather, @z3usy - any chance we can get someone on the brigade web team to merge and release this?
Thanks for merging! But just checking when this approved change for SSR will be published. I'm currently hosting a copy of this in each repo that uses it, since the published version won't work with SSR.