preactjs / preact-compat

ATTENTION: The React compatibility layer for Preact has moved to the main preact repo.
http://npm.im/preact-compat
MIT License
949 stars 148 forks source link

setState raised error #481

Closed engmagdy87 closed 6 years ago

engmagdy87 commented 6 years ago

After build the React 16 app with preact-compat, I received this error when calling a function with setState for onClick event

42091208-b793cbd4-7ba4-11e8-9e99-98c7e9f17a84

developit commented 6 years ago

We only shipped createPortal() in 3.18.2 (3 days ago). Please update.