You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since React 15.5, PropTypes were removed from react itself and must now be imported from "prop-types". This breaks react-layer-stack, because all type definitions here still try to access _react2.default.PropTypes.something, but since _react2.default.PropTypes is undefined, everything crashes.
This is quite unfortunate because this module looks exactly like what I need for my current project...
The text was updated successfully, but these errors were encountered:
it's been a while since you've accepted my pull-request to fix this issue (thanks for that, by the way), so I was wondering why the NPM module has not been updated with that version yet. It still delivers the broken one (says last update was 3 years ago).
Any particular reason for that? Are you maybe working on some major update to make react-layer-stack work better in the new React 16.8+ world with hooks? Or are you in the process of adding some new functionality, like attaching/detaching CSS classes on the wrappers based on their "active"-status as I suggested back in the day (Reminder: Behavior like this: ".layer-stack-wrapper.has-active-layers > .layer-wrapper.is-active")?
To be honest, if one or even both of these things would come out in the future, that would be simply amazing.
But if that is not happening soon (or at all), would you mind updating NPM with just my fix in the meantime so it can be properly required as a remote dependency again?
Thanks in advance!
P.S.: I really like what you did with this and think it is quite sad that it appears to be as if it was no longer actively maintained. I hope that is not actually the case and you simply considered it "done" for the time being but have still some things up your sleeve. I would really like to see this develop much further, it is so incredibly useful and still has so much potential.
Since React 15.5, PropTypes were removed from react itself and must now be imported from "prop-types". This breaks react-layer-stack, because all type definitions here still try to access _react2.default.PropTypes.something, but since _react2.default.PropTypes is undefined, everything crashes.
This is quite unfortunate because this module looks exactly like what I need for my current project...
The text was updated successfully, but these errors were encountered: