1
1
{
2
2
"rimr" : {
3
3
"prefix" : " rimr" ,
4
- "body" : [
5
- " import React from 'react';"
6
- ],
4
+ "body" : [" import React from 'react';" ],
7
5
"description" : " TypeScript: import react"
8
6
},
9
7
"rimrd" : {
10
8
"prefix" : " rimrd" ,
11
- "body" : [
12
- " import ReactDOM from 'react-dom';"
13
- ],
9
+ "body" : [" import ReactDOM from 'react-dom';" ],
14
10
"description" : " TypeScript: import React DOM"
15
11
},
16
12
"rimrs" : {
17
13
"prefix" : " rimrs" ,
18
- "body" : [
19
- " import React, { useState } from 'react';"
20
- ],
14
+ "body" : [" import React, { useState } from 'react';" ],
21
15
"description" : " Typescript: Import React and useState"
22
16
},
23
17
"rimrse" : {
24
18
"prefix" : " rimrse" ,
25
- "body" : [
26
- " import React, { useState, useEffect} from 'react';"
27
- ],
19
+ "body" : [" import React, { useState, useEffect} from 'react';" ],
28
20
"description" : " Typescript: Import React, useState and useEffect"
29
21
},
30
22
"rfct" : {
44
36
},
45
37
"ruet" : {
46
38
"prefix" : " ruet" ,
47
- "body" : [
48
- " useEffect(() => {" ,
49
- " \t $1" ,
50
- " }, []);"
51
- ],
39
+ "body" : [" useEffect(() => {" , " \t $1" , " }, []);" ],
52
40
"description" : " TypeScript: useEffect hook"
53
41
},
54
42
"rust" : {
55
43
"prefix" : " rust" ,
56
- "body" : [
57
- " const [${1}, set${1}] = useState(${2});"
58
- ],
44
+ "body" : [" const [${1}, set${1}] = useState(${2});" ],
59
45
"description" : " TypeScript: useState hook"
60
46
},
61
47
"ruct" : {
62
48
"prefix" : " ruct" ,
63
- "body" : [
64
- " const ${1} = useContext(${2});"
65
- ],
49
+ "body" : [" const ${1} = useContext(${2});" ],
66
50
"description" : " TypeScript: useContext hook"
67
51
},
68
52
"rurt" : {
69
53
"prefix" : " rurt" ,
70
- "body" : [
71
- " const ${1} = useRef(${2});"
72
- ],
54
+ "body" : [" const ${1} = useRef(${2});" ],
73
55
"description" : " TypeScript: useRef hook"
74
56
}
75
- }
57
+ }
0 commit comments