SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

useMutableSource hook (#18000)

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
B
Brian Vaughn committed
322cdcd3abfaca985a001a12247f02c5d31d311e
Parent: 30a998d
Committed by GitHub <noreply@github.com> on 3/11/2020, 7:34:39 PM