Replies: 5 comments 1 reply
-
hi, i am having same issue #30052 subscribing for updates here |
Beta Was this translation helpful? Give feedback.
-
Thanks for raising this. Was able to reproduce and we're looking into it. |
Beta Was this translation helpful? Give feedback.
-
it is also here |
Beta Was this translation helpful? Give feedback.
-
Just thought I would mention, I am having the same issue so subscribing here for updates. |
Beta Was this translation helpful? Give feedback.
-
PR #30221 addresses this issue. It's now available in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello before totally migrating to the new gatsby-image-plugin, i tried a couple of tests:
in a simple Gatsby page i load (via graphql) a bunch of image and i display with GatsbyImage a random one (simply by using a random index number), then i added a link that change the number (the number is a State Hook, so i was expecting the image component to update, with the new image, instead after a couple of clicks (usually the second one) i got the following error:
Warning: render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.
inspecting the generatad html the GatsbyImage components renders:
a wrapper div, inside it a div containing the image placeholder, and the picture tag that contains the image.
what happen on my click is that all the rendered component is updated, beside the div with the placeholder, and i guess that is this div appearing and disappearing that broke the page.
In any case this is my basic page
what am i missing?
Beta Was this translation helpful? Give feedback.
All reactions