Lucifier129 / react-lite

An implementation of React v15.x that optimizes for small script size
MIT License
1.73k stars 98 forks source link

Compatibility with react-widgets #76

Closed saxicek closed 8 years ago

saxicek commented 8 years ago

Currently react-widgets fail with react-lite, because react-widgets uses following invariant: https://github.com/jquense/uncontrollable/blob/master/src/createUncontrollable.js#L25 which requires component.prototype.isReactComponent on the component (https://github.com/jquense/uncontrollable/blob/master/src/utils.js#L100).

Is it possible to add this attribute?

Lucifier129 commented 8 years ago

It's ok, and done with this commit, please try to use the lastest version(0.15.23) of react-lite and feedback if something wrong.

saxicek commented 8 years ago

The issue is resolved, thank you!