Closed jamieshepherd closed 8 years ago
<Masonry
className={'my-gallery-class'}
options={this.masonryOptions}
disableImagesLoaded={false}>
{ childElements }
</Masonry>
Thanks for reporting @jamieshepherd will investigate tonight
@jamieshepherd this is happening because those props are being passed down to the div this component creates.
I'll update the code base and will let you know when it's released
I was about to post the same issue. The custom props don't have to be passed down to the rendered div.
fixed in v4.2.0
Updated React today to be greeted with this warning in the console. Haven't changed anything from my masonry component, still trying to figure out exactly how to prevent it. Only Masonry triggering this warning. My code is standard from README.md.
Linked: https://fb.me/react-unknown-prop