mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
322cdcd3ab
useMutableSource hook useMutableSource() enables React components to safely and efficiently read from a mutable external source in Concurrent Mode. The API will detect mutations that occur during a render to avoid tearing and it will automatically schedule updates when the source is mutated. RFC: reactjs/rfcs#147