mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
e1f907d68d
Allows assigning a ref-accessing function to an object so long as that object is not subsequently transitively mutated. We should likely rewrite the ref validation to use the new mutation/aliasing effects, which would provide a more consistent behavior across instruction types and require fewer special cases like this.