You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-53
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
<divalign="center">
2
2
3
-
##React & Redux in TypeScript - Static Typing Guide
3
+
# React & Redux in TypeScript Guide
4
4
5
5
_"This guide is a **living compendium** documenting the most important patterns and recipes on how to use **React** (and its Ecosystem) in a **functional style** using **TypeScript**. It will help you make your code **completely type-safe** while focusing on **inferring the types from implementation** so there is less noise coming from excessive type annotations and it's easier to write and maintain correct types in the long run."_
6
6
@@ -20,44 +20,48 @@ _Found it useful? Want more updates?_
20
20
21
21
<br/><hr/>
22
22
23
-
:tada:_Now updated to support **TypeScript v3.4**_:tada:
23
+
### **What's new?**
24
+
25
+
:tada:_Now updated to support **TypeScript v3.7**_:tada:
24
26
25
27
<hr/><br/>
26
28
27
29
</div>
28
30
29
-
**Goals**
31
+
### **Goals**
30
32
31
33
- Complete type safety (with [`--strict`](https://www.typescriptlang.org/docs/handbook/compiler-options.html) flag) without losing type information downstream through all the layers of our application (e.g. no type assertions or hacking with `any` type)
32
34
- Make type annotations concise by eliminating redundancy in types using advanced TypeScript Language features like **Type Inference** and **Control flow analysis**
33
35
- Reduce repetition and complexity of types with TypeScript focused [complementary libraries](#complementary-libraries)
34
36
35
-
**React, Redux, Typescript Ecosystem**
37
+
### **React, Redux, Typescript Ecosystem**
36
38
37
39
-[typesafe-actions](https://github.com/piotrwitek/typesafe-actions) - Typesafe utilities for "action-creators" in Redux / Flux Architecture
38
40
-[utility-types](https://github.com/piotrwitek/utility-types) - Collection of generic types for TypeScript, complementing built-in mapped types and aliases - think lodash for reusable types.
39
41
-[react-redux-typescript-scripts](https://github.com/piotrwitek/react-redux-typescript-scripts) - dev-tools configuration files shared between projects based on this guide
40
42
41
-
**Codesandbox links**
43
+
### **Examples**
42
44
43
-
- Reference Todo-App implementation using **React, Redux, Typescript Guide**: [Link](https://codesandbox.io/s/github/piotrwitek/typesafe-actions/tree/master/codesandbox)
You should check out Playground Project located in the `/playground` folder. It is a source of all the code examples found in the guide. They are all tested with the most recent version of TypeScript and 3rd party type-definitions (like `@types/react` or `@types/react-redux`) to ensure the examples are up-to-date and not broken with updated definitions. It's based on `create-react-app --typescript`.
52
+
Check out our Playground Project located in the `/playground` folder. It contains all source files of the code examples found in the guide. They are all tested with the most recent version of TypeScript and 3rd party type-definitions (like `@types/react` or `@types/react-redux`) to ensure the examples are up-to-date and not broken with updated definitions (It's based on `create-react-app --typescript`).
50
53
> Playground project was created so that you can simply clone the repository locally and immediately play around with all the component patterns found in the guide. It will help you to learn all the examples from this guide in a real project environment without the need to create complicated environment setup by yourself.
51
54
52
55
## Contributing Guide
53
-
We are open for contributions. If you're planning to contribute please make sure to read the contributing guide: [CONTRIBUTING.md](/CONTRIBUTING.md)
56
+
57
+
You can help make this project better by contributing. If you're planning to contribute please make sure to check our contributing guide: [CONTRIBUTING.md](/CONTRIBUTING.md)
54
58
55
59
## Funding
56
-
This is an independent open-source project created by people investing their free time for the benefit of our community.
57
60
58
-
If you are using it please consider donating as this will guarantee the project will be updated and maintained in the long run.
61
+
You can also help by funding issues.
62
+
Issues like bug fixes or feature requests can be very quickly resolved when funded through the IssueHunt platform.
59
63
60
-
Issues can be funded by anyone interested in them being resolved. Reward will be transparently distributed to the contributor handling the task through the IssueHunt platform.
64
+
I highly recommend to add a bounty to the issue that you're waiting for to increase priority and attract contributors willing to work on it.
61
65
62
66
[](https://issuehunt.io/repos/76996763)
63
67
@@ -66,6 +70,7 @@ Issues can be funded by anyone interested in them being resolved. Reward will be
Copy file name to clipboardExpand all lines: README_SOURCE.md
+17-12
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
<divalign="center">
2
2
3
-
##React & Redux in TypeScript - Static Typing Guide
3
+
# React & Redux in TypeScript Guide
4
4
5
5
_"This guide is a **living compendium** documenting the most important patterns and recipes on how to use **React** (and its Ecosystem) in a **functional style** using **TypeScript**. It will help you make your code **completely type-safe** while focusing on **inferring the types from implementation** so there is less noise coming from excessive type annotations and it's easier to write and maintain correct types in the long run."_
6
6
@@ -20,44 +20,48 @@ _Found it useful? Want more updates?_
20
20
21
21
<br/><hr/>
22
22
23
-
:tada:_Now updated to support **TypeScript v3.4**_:tada:
23
+
### **What's new?**
24
+
25
+
:tada:_Now updated to support **TypeScript v3.7**_:tada:
24
26
25
27
<hr/><br/>
26
28
27
29
</div>
28
30
29
-
**Goals**
31
+
### **Goals**
30
32
31
33
- Complete type safety (with [`--strict`](https://www.typescriptlang.org/docs/handbook/compiler-options.html) flag) without losing type information downstream through all the layers of our application (e.g. no type assertions or hacking with `any` type)
32
34
- Make type annotations concise by eliminating redundancy in types using advanced TypeScript Language features like **Type Inference** and **Control flow analysis**
33
35
- Reduce repetition and complexity of types with TypeScript focused [complementary libraries](#complementary-libraries)
34
36
35
-
**React, Redux, Typescript Ecosystem**
37
+
### **React, Redux, Typescript Ecosystem**
36
38
37
39
-[typesafe-actions](https://github.com/piotrwitek/typesafe-actions) - Typesafe utilities for "action-creators" in Redux / Flux Architecture
38
40
-[utility-types](https://github.com/piotrwitek/utility-types) - Collection of generic types for TypeScript, complementing built-in mapped types and aliases - think lodash for reusable types.
39
41
-[react-redux-typescript-scripts](https://github.com/piotrwitek/react-redux-typescript-scripts) - dev-tools configuration files shared between projects based on this guide
40
42
41
-
**Codesandbox links**
43
+
### **Examples**
42
44
43
-
- Reference Todo-App implementation using **React, Redux, Typescript Guide**: [Link](https://codesandbox.io/s/github/piotrwitek/typesafe-actions/tree/master/codesandbox)
You should check out Playground Project located in the `/playground` folder. It is a source of all the code examples found in the guide. They are all tested with the most recent version of TypeScript and 3rd party type-definitions (like `@types/react` or `@types/react-redux`) to ensure the examples are up-to-date and not broken with updated definitions. It's based on `create-react-app --typescript`.
52
+
Check out our Playground Project located in the `/playground` folder. It contains all source files of the code examples found in the guide. They are all tested with the most recent version of TypeScript and 3rd party type-definitions (like `@types/react` or `@types/react-redux`) to ensure the examples are up-to-date and not broken with updated definitions (It's based on `create-react-app --typescript`).
50
53
> Playground project was created so that you can simply clone the repository locally and immediately play around with all the component patterns found in the guide. It will help you to learn all the examples from this guide in a real project environment without the need to create complicated environment setup by yourself.
51
54
52
55
## Contributing Guide
53
-
We are open for contributions. If you're planning to contribute please make sure to read the contributing guide: [CONTRIBUTING.md](/CONTRIBUTING.md)
56
+
57
+
You can help make this project better by contributing. If you're planning to contribute please make sure to check our contributing guide: [CONTRIBUTING.md](/CONTRIBUTING.md)
54
58
55
59
## Funding
56
-
This is an independent open-source project created by people investing their free time for the benefit of our community.
57
60
58
-
If you are using it please consider donating as this will guarantee the project will be updated and maintained in the long run.
61
+
You can also help by funding issues.
62
+
Issues like bug fixes or feature requests can be very quickly resolved when funded through the IssueHunt platform.
59
63
60
-
Issues can be funded by anyone interested in them being resolved. Reward will be transparently distributed to the contributor handling the task through the IssueHunt platform.
64
+
I highly recommend to add a bounty to the issue that you're waiting for to increase priority and attract contributors willing to work on it.
61
65
62
66
[](https://issuehunt.io/repos/76996763)
63
67
@@ -66,6 +70,7 @@ Issues can be funded by anyone interested in them being resolved. Reward will be
0 commit comments