mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
* [experimental] simple-cache-provider Pushing an early version of this for testing and demonstration purposes. * Change invariant to DEV-only warning * Use function overloading for createResource type Expresses that primitive keys do not require a hash function, but non-primitive keys do. * More tests * Use export * * Make Record type a disjoint union * Pass miss argument separate from key to avoid a closure
13 lines
254 B
JavaScript
13 lines
254 B
JavaScript
/**
|
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
export * from './src/SimpleCacheProvider';
|