We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
useDeferredValue
1 parent ae1ee12 commit 75bc8ceCopy full SHA for 75bc8ce
README.md
@@ -13,6 +13,7 @@ React Hooks Snippets is a [Visual Studio Code](https://code.visualstudio.com/) e
13
| ------------- | ------------- |
14
| `ush` | `useState` |
15
| `uth` | `useTransitionHook` |
16
+| `udvh` | `useDeferredValue` |
17
| `ueh` | `useEffect` |
18
| `uleh` | `useLayoutEffect` |
19
| `uieh` | `useInsertionEffect` |
snippets/snippets.json
@@ -13,6 +13,13 @@
],
"description": "React useTransition() hook"
},
+ "useDeferredValue": {
+ "prefix": "udvh",
+ "body": [
+ "const ${1:deferredValue} = useDeferredValue(${2:value});$0"
20
+ ],
21
+ "description": "React useDeferredValue() hook"
22
+ },
23
"useEffect": {
24
"prefix": "ueh",
25
"body": [
0 commit comments