@@ -7,73 +7,95 @@ Enjoy :D
7
7
## ES6+ Snippets
8
8
9
9
** log → console.log()**
10
+ <br >
10
11
![ log snippet animation] ( ./docs/log.gif )
11
12
12
13
** anfn → annonymous function**
14
+ <br >
13
15
![ annonymous function snippet] ( ./docs/anfn.gif )
14
16
15
17
** nfn→ named function**
18
+ <br >
16
19
![ named function snippet] ( ./docs/nfn.gif )
17
20
18
21
** fn → ES5 fucntion**
22
+ <br >
19
23
![ ES5 function snippet] ( ./docs/fn.gif )
20
24
21
25
** imp → import statement**
26
+ <br >
22
27
![ import statement snippet] ( ./docs/imp.gif )
23
28
24
29
** imd → import statement desctructured**
30
+ <br >
25
31
![ import statement with destructuring snippet] ( ./docs/imd.gif )
26
32
27
33
** ime → import everything as**
34
+ <br >
28
35
![ import everything snippet] ( ./docs/ime.gif )
29
36
30
37
** fof → for of loop**
38
+ <br >
31
39
![ for of loop snippet] ( ./docs/fof.gif )
32
40
33
41
** fin → for in loop**
42
+ <br >
34
43
![ for in loop snippet] ( ./docs/fin.gif )
35
44
36
45
** met → method**
46
+ <br >
37
47
![ method snippet] ( ./docs/met.gif )
38
48
39
49
** seto → setTimeout**
50
+ <br >
40
51
![ setTimeout snippet] ( ./docs/seto.gif )
41
52
42
53
** npro → new Promise**
54
+ <br >
43
55
![ npro snippet] ( ./docs/npro.gif )
44
56
45
57
** catch → catch() with nested annonymous function**
58
+ <br >
46
59
![ catch method snippet] ( ./docs/catch.gif )
47
60
48
61
** then → then() with nested annonymous function**
62
+ <br >
49
63
![ then function snippet] ( ./docs/then.gif )
50
64
51
65
## React Snippets
52
66
53
67
** rcc → React Class Based Component**
68
+ <br >
54
69
![ React component snippet] ( ./docs/rcc.gif )
55
70
56
71
** cpwm → | componentWillMount Method**
72
+ <br >
57
73
![ componentWillMount snippet] ( ./docs/cpwm.gif )
58
74
59
75
## React Redux Snippets
60
76
61
77
** rcredux → Renders a React connected component**
78
+ <br >
62
79
![ React connected component snippet] ( ./docs/rcredux.gif )
63
80
64
81
** mapSta → mapStateToProps function**
82
+ <br >
65
83
![ mapStateToProps function snippet] ( ./docs/mapSta.gif )
66
84
67
85
** mapDis → mapDispatchToProps**
86
+ <br >
68
87
![ mapDispatchToProps function snippet] ( ./docs/mapDis.gif )
69
88
70
89
## Redux Snippets
71
90
72
91
** rxconst → creates redux constant**
92
+ <br >
73
93
![ redux constant snippet] ( ./docs/rxconst.gif )
74
94
75
95
** rxaction → redux action**
96
+ <br >
76
97
![ redux action snippet] ( ./docs/rxaction.gif )
77
98
78
99
** rxreducer → Redux reducer template**
100
+ <br >
79
101
![ redux reducer snippet] ( ./docs/rxreducer.gif )
0 commit comments