Open zanedev opened 5 years ago
Can you post a code snippet?
This is a standard warning with react-16.9.0 it doesn't allow custom props on an html element.
<li key={key} itemHeight={image.images.low_resolution.height}>
<img src={image.images.low_resolution.url} />
</li>
Hi when adding
itemHeight
to anli
to a css grid like the example I get the messageReact does not recognize the
itemHeightprop on a DOM element
. When I remove the prop I get a warningUncaught Error: Each child must have an "itemHeight" prop or an "itemRect.height" prop.
How can I work around this?