@types/react 16.14.22 → 16.14.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- react v16.14/README.md +1 -1
- react v16.14/index.d.ts +0 -12
- react v16.14/package.json +2 -2
react v16.14/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for React (http://facebook.github.io/reac
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react/v16.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated: Thu,
|
11
|
+
* Last updated: Thu, 03 Feb 2022 14:01:28 GMT
|
12
12
|
* Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler)
|
13
13
|
* Global values: `React`
|
14
14
|
|
react v16.14/index.d.ts
CHANGED
@@ -1107,18 +1107,6 @@ declare namespace React {
|
|
1107
1107
|
/**
|
1108
1108
|
* `useMemo` will only recompute the memoized value when one of the `deps` has changed.
|
1109
1109
|
*
|
1110
|
-
* Usage note: if calling `useMemo` with a referentially stable function, also give it as the input in
|
1111
|
-
* the second argument.
|
1112
|
-
*
|
1113
|
-
* ```ts
|
1114
|
-
* function expensive () { ... }
|
1115
|
-
*
|
1116
|
-
* function Component () {
|
1117
|
-
* const expensiveResult = useMemo(expensive, [expensive])
|
1118
|
-
* return ...
|
1119
|
-
* }
|
1120
|
-
* ```
|
1121
|
-
*
|
1122
1110
|
* @version 16.8.0
|
1123
1111
|
* @see https://reactjs.org/docs/hooks-reference.html#usememo
|
1124
1112
|
*/
|
react v16.14/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "16.14.
|
3
|
+
"version": "16.14.23",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -146,6 +146,6 @@
|
|
146
146
|
"@types/scheduler": "*",
|
147
147
|
"csstype": "^3.0.2"
|
148
148
|
},
|
149
|
-
"typesPublisherContentHash": "
|
149
|
+
"typesPublisherContentHash": "ebbcde76698c97dfaf3d2235ec976321e7147d0ec8297366c3caa4b65c659b73",
|
150
150
|
"typeScriptVersion": "3.8"
|
151
151
|
}
|