use-sync-external-store
Version:
Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.
10 lines (9 loc) • 352 B
JavaScript
/** @license React vundefined
* use-sync-external-store.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
;var a=require("react").useSyncExternalStore;exports.useSyncExternalStore=a;