React-responsive not working on first load

Hi there, and welcome :slight_smile:

It does seem like react-responsive is usable with Gatsby server-side rendering, but not sure if that will translate to using with Netlify, since we only serve static sites. Here’s a bit more on that:

It looks like using that plugin with a static site would be a bit of an advanced use case, but possible. There may be something useful in this thread for you?

But I admit that, just at a high level, I don’t know how the isTabletOrMobile check could work with a static site because the site will already be generated (with whatever dimensions) by the time check happens. See what this person says:

That said, we would love to be proven wrong on this- please let us know or if you find a workaround!