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.
useTransition
1 parent 13dbe52 commit ae1ee12Copy full SHA for ae1ee12
README.md
@@ -12,6 +12,7 @@ React Hooks Snippets is a [Visual Studio Code](https://code.visualstudio.com/) e
12
| Prefix | Snippet |
13
| ------------- | ------------- |
14
| `ush` | `useState` |
15
+| `uth` | `useTransitionHook` |
16
| `ueh` | `useEffect` |
17
| `uleh` | `useLayoutEffect` |
18
| `uieh` | `useInsertionEffect` |
snippets/snippets.json
@@ -6,6 +6,13 @@
6
],
7
"description": "React useState() hook"
8
},
9
+ "useTransition": {
10
+ "prefix": "uth",
11
+ "body": [
+ "const [isPending, startTransition] = useTransition();$0"
+ ],
+ "description": "React useTransition() hook"
+ },
"useEffect": {
"prefix": "ueh",
"body": [
0 commit comments