Hello there,
I’d like to use your Packery Component without resorting to using React’s createClass() method, and extend React.Component instead to have a full ES6 syntax.
However, the component fails to mount when doing this, as React.PropTypes is undefined in your PackeryComponent function. For the record, your react-masonry-component works great this way, as React is not undefined with it.
Is there any way I could get your Packery Component to work when extending Component without forking it? I'm quite reliant on npm management, so I'd like it to work out of the box.
Thank you!
Hello there,
I’d like to use your Packery Component without resorting to using React’s
createClass()method, and extendReact.Componentinstead to have a full ES6 syntax.However, the component fails to mount when doing this, as
React.PropTypesis undefined in yourPackeryComponentfunction. For the record, yourreact-masonry-componentworks great this way, as React is not undefined with it.Is there any way I could get your Packery Component to work when extending Component without forking it? I'm quite reliant on
npmmanagement, so I'd like it to work out of the box.Thank you!