UNPKG

use-sync-external-store

Version:

Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.

11 lines (10 loc) 344 B
/** * @license React * 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. */ 'use strict';var a=require("react").useSyncExternalStore;exports.useSyncExternalStore=a;