react-photo-gallery icon indicating copy to clipboard operation
react-photo-gallery copied to clipboard

No ssr

Open vsolanogo opened this issue 4 years ago • 3 comments

Does SSR works with Gatsby? It doesn't in my case

vsolanogo avatar Oct 21 '20 21:10 vsolanogo

This used to work but appears to have been knocked out in a recent release - I'm now seeing errors that look like this when performing a SSR in NextJS. Works fine from the client side.

image

If you need any more details just let me know. I'm probably going to switch to a dynamic load for this in the next day or so to work around the issue.

kieranbenton avatar Mar 09 '21 13:03 kieranbenton

@kieranbenton hey did you get it working with SSR -Nextjs ?

hdminh247 avatar Mar 24 '21 15:03 hdminh247

Apologies meant to come back here and confirm. Issue was PEBKAC - I was using yarn workspaces and react-photo-gallery was not a dependency of the right workspace.

I'm still not using it with SSR (and haven't tried explicitly) but my problem was unrelated to the originally flagged issue.

kieranbenton avatar Mar 24 '21 15:03 kieranbenton