I'm trying to use inferno + inferno-compat via a cdn:
https://cdn.jsdelivr.net/g/[email protected](inferno.js+inferno-component.js+inferno-create-element.js+inferno-create-class.js+inferno-compat.js
but it's complaining about missing PropTypes which is an undefined reference.
Uncaught TypeError: Cannot use 'in' operator to search for 'default' in undefined
at
PropTypes = 'default' in PropTypes ? PropTypes['default'] : PropTypes;
of inferno-compat because global.PropTypes, which is equiv to window.PropTypes, is undefined. This comes from not compiling proptypes into the dist build.
Hey. Thanks for reporting this issue. I Will look into it later today.
Hey,
propTypes will be bundled together with inferno-compat in next release. Sorry for this issue. Closing.
Thank you!