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.
useInsertionEffect
1 parent 49a920c commit 13dbe52Copy full SHA for 13dbe52
README.md
@@ -14,6 +14,7 @@ React Hooks Snippets is a [Visual Studio Code](https://code.visualstudio.com/) e
14
| `ush` | `useState` |
15
| `ueh` | `useEffect` |
16
| `uleh` | `useLayoutEffect` |
17
+| `uieh` | `useInsertionEffect` |
18
| `uch` | `useContext` |
19
| `ucbh` | `useCallback` |
20
| `umh` | `useMemo` |
snippets/snippets.json
@@ -27,6 +27,15 @@
27
],
28
"description": "React useLayoutEffect() hook"
29
},
30
+ "useInsertionEffect": {
31
+ "prefix": "uieh",
32
+ "body": [
33
+ "useInsertionEffect(() => {",
34
+ "\t$1",
35
+ "}, [${2}]);$0"
36
+ ],
37
+ "description": "React useInsertionEffect() hook"
38
+ },
39
"useContext": {
40
"prefix": "uch",
41
"body": [
0 commit comments