We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Posted this issue over at React, but I'm not sure where the issue is, React 16 or lazysizes.
I'm using React Server Side Rendering (SSR).
I'm trying to use the "the noscript pattern" but I'm seeing this in the console:
Warning: Expected server HTML to contain a matching <img> in <noscript>.
My image component's render method:
render () { const { cdn, url, width, height } = this.props if (!url) return null const noScriptImgProps = { src: `${cdn}${url}`, className: classNames('product-image'), width, height } const imgProps = { 'data-src': `${cdn}${url}`, className: classNames('product-image', 'lazyload'), width, height } return ( <span> <noscript> <img {...noScriptImgProps} /> </noscript> <img {...imgProps} /> </span> ) }
Has anyone else seen this happening..?
The text was updated successfully, but these errors were encountered:
Pretty sure this is a React thing...
Sorry, something went wrong.
So, React isn't supported?
@oliviertassinari Take a look here: facebook/react#11423
No branches or pull requests
Posted this issue over at React, but I'm not sure where the issue is, React 16 or lazysizes.
I'm using React Server Side Rendering (SSR).
I'm trying to use the "the noscript pattern" but I'm seeing this in the console:
My image component's render method:
Has anyone else seen this happening..?
The text was updated successfully, but these errors were encountered: