@@ -44,36 +44,37 @@ This gives you the power to prioritize our work and support the project contribu
44
44
45
45
## Table of Contents
46
46
- [ Type Definitions & Complementary Libraries] ( #type-definitions--complementary-libraries )
47
- - [ React Types Cheatsheet] ( #react-types-cheatsheet ) 🌟 __ NEW __
47
+ - [ React Types Cheatsheet] ( #react-types-cheatsheet )
48
48
- [ Component Typing Patterns] ( #component-typing-patterns )
49
49
- [ Stateless Components - SFC] ( #stateless-components---sfc )
50
- - [ Stateful Components - Class] ( #stateful-components---class ) 📝 __ UPDATED __
50
+ - [ Stateful Components - Class] ( #stateful-components---class )
51
51
- [ Generic Components] ( #generic-components )
52
- - [ Render Props] ( #render-props ) 🌟 __ NEW __
53
- - [ Higher-Order Components] ( #higher-order-components ) 📝 __ UPDATED __
52
+ - [ Render Props] ( #render-props )
53
+ - [ Higher-Order Components] ( #higher-order-components )
54
54
- [ Redux Connected Components] ( #redux-connected-components )
55
55
- [ Redux] ( #redux )
56
- - [ Action Creators] ( #action-creators ) 📝 __ UPDATED __
57
- - [ Reducers] ( #reducers ) 📝 __ UPDATED __
56
+ - [ Action Creators] ( #action-creators )
57
+ - [ Reducers] ( #reducers )
58
58
- [ State with Type-level Immutability] ( #state-with-type-level-immutability )
59
59
- [ Typing reducer] ( #typing-reducer )
60
60
- [ Testing reducer] ( #testing-reducer )
61
- - [ Store Configuration] ( #store-configuration ) 📝 __ UPDATED __
62
- - [ Async Flow] ( #async-flow ) 📝 __ UPDATED __
61
+ - [ Store Configuration] ( #store-configuration )
62
+ - [ Async Flow] ( #async-flow )
63
63
- [ Selectors] ( #selectors )
64
64
- [ Tools] ( #tools )
65
+ - [ Tools Npm Scripts] ( #tools-npm-scripts )
65
66
- [ TSLint] ( #tslint )
66
67
- [ Jest] ( #jest )
67
68
- [ Enzyme] ( #enzyme )
68
- - [ Living Style Guide] ( #living-style-guide ) 🌟 __ NEW __
69
- - [ Common Npm Scripts ] ( #common-npm-scripts )
69
+ - [ Living Style Guide] ( #living-style-guide )
70
+ - [ Recompose ] ( #recompose ) 🌟 __ NEW __
70
71
- [ Recipes] ( #recipes )
71
72
- [ tsconfig.json] ( #tsconfigjson )
72
73
- [ Vendor Types Augmentation] ( #vendor-types-augmentation )
73
74
- [ Default and Named Module Exports] ( #default-and-named-module-exports )
74
75
- [ FAQ] ( #faq )
75
76
- [ Tutorials] ( #tutorials )
76
- - [ Contributors] ( #contributors )
77
+ - [ Contributors] ( #contributors ) 🌟 __ NEW __
77
78
78
79
---
79
80
@@ -1111,6 +1112,23 @@ export const getFilteredTodos = createSelector(getTodos, getTodosFilter, (todos,
1111
1112
---
1112
1113
1113
1114
# Tools
1115
+ > Common tools for TypeScript projects
1116
+
1117
+ ## Tools Npm Scripts
1118
+ > Tools related npm scripts shared across projects
1119
+ ` ` `
1120
+ " lint" : " tslint -p ./" ,
1121
+ " tsc" : " tsc -p ./ --noEmit" ,
1122
+ " tsc:watch" : " tsc -p ./ --noEmit -w" ,
1123
+ " pretest" : " npm run lint & npm run tsc" ,
1124
+ " test" : " jest --config jest.config.json" ,
1125
+ " test:watch" : " jest --config jest.config.json --watch" ,
1126
+ " test:update" : " jest --config jest.config.json -u" ,
1127
+ ` ` `
1128
+
1129
+ [⇧ back to top](#table-of-contents)
1130
+
1131
+ ---
1114
1132
1115
1133
## TSLint
1116
1134
@@ -1178,6 +1196,8 @@ export const getFilteredTodos = createSelector(getTodos, getTodosFilter, (todos,
1178
1196
1179
1197
[⇧ back to top](#table-of-contents)
1180
1198
1199
+ ---
1200
+
1181
1201
## Jest
1182
1202
1183
1203
> Installation
@@ -1223,9 +1243,10 @@ window.localStorage = {
1223
1243
Object .values = () => [];
1224
1244
` ` `
1225
1245
1226
-
1227
1246
[⇧ back to top](#table-of-contents)
1228
1247
1248
+ ---
1249
+
1229
1250
## Enzyme
1230
1251
1231
1252
> Installation
@@ -1250,16 +1271,15 @@ configure({ adapter: new Adapter() });
1250
1271
1251
1272
[⇧ back to top](#table-of-contents)
1252
1273
1253
- ## Common Npm Scripts
1254
- > Common TS-related npm scripts shared across projects
1255
- ` ` `
1256
- " lint" : " tslint -p ./" ,
1257
- " tsc" : " tsc -p ./ --noEmit" ,
1258
- " tsc:watch" : " tsc -p ./ --noEmit -w" ,
1259
- " pretest" : " npm run lint & npm run tsc" ,
1260
- " test" : " jest --config jest.config.json" ,
1261
- " test:watch" : " jest --config jest.config.json --watch" ,
1262
- " test:update" : " jest --config jest.config.json -u" ,
1274
+ ---
1275
+
1276
+ ## Recompose
1277
+
1278
+ > Installation
1279
+ ` npm i recompose `
1280
+
1281
+ ` ` ` tsx
1282
+ // WIP
1263
1283
` ` `
1264
1284
1265
1285
[⇧ back to top](#table-of-contents)
0 commit comments