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
Fixes#123
Using the `ref` prop writes the ref to the `this.refs` object.
However, setting a ref with a callback is not allowed to write to the frozen `this.refs`. The `writeRef` props writes directly to `this` instead.
Writing a ref causes:
I believe that refs is a frozen object now. Related issue facebook/react#7136.
To fix this, I propose that we just write the refs directly to
this
as suggested in the linked issue above. I am open to other ideas though.react@16.0.0
purescript-react@5.0.0
The text was updated successfully, but these errors were encountered: