This repository was archived by the owner on Oct 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 26
26
"watch:api" : " cd packages/api && yarn run watch" ,
27
27
"watch:event" : " cd packages/event && yarn run watch" ,
28
28
"test" : " jest --passWithNoTests" ,
29
- "test:coverage" : " jest --coverage" ,
29
+ "test:coverage" : " jest --coverage && coveralls < coverage/lcov.info " ,
30
30
"dev:publish" : " lerna run build && lerna run dev:publish" ,
31
31
"dev:push" : " lerna run build && lerna run dev:push" ,
32
32
"install:packages" : " lerna exec yarn install" ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ This ensures that AgileTs will re-render the Component when the bound State chan
28
28
It also provides some other valuable functionalities
29
29
that optimize the workflow with AgileTs in a React project.
30
30
31
- A distinction is made between ` Functional ` and ` Class ` React Components.
31
+ A distinction is made between ` Functional ` and ` Class ` Components.
32
32
As we prefer to use [ ` React Hooks ` ] ( https://reactjs.org/docs/hooks-intro.html ) in Functional Components,
33
33
however, Hooks aren't supported in Class Components.
34
34
Therefore, we have created alternatives for Class Components
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import {
23
23
*
24
24
* @public
25
25
* @param reactComponent - React Component to which the specified deps should be bound.
26
- * @param deps - Agile Instances to be bound to the Class Component.
26
+ * @param deps - Agile Sub Instances to be bound to the Class Component.
27
27
* @param agileInstance - Instance of Agile the React Component belongs to.
28
28
*/
29
29
export function AgileHOC (
Original file line number Diff line number Diff line change 37
37
* whenever the most relevant Observer of an Agile Instance mutates.
38
38
*
39
39
* @public
40
- * @param deps - Agile Instances to be bound to the Functional Component.
40
+ * @param deps - Agile Sub Instances to be bound to the Functional Component.
41
41
* @param config - Configuration object
42
42
*/
43
43
export function useAgile < X extends Array < SubscribableAgileInstancesType > > (
@@ -53,7 +53,7 @@ export function useAgile<X extends Array<SubscribableAgileInstancesType>>(
53
53
* whenever the most relevant Observer of the Agile Instance mutates.
54
54
*
55
55
* @public
56
- * @param dep - Agile Instance to be bound to the Functional Component.
56
+ * @param dep - Agile Sub Instance to be bound to the Functional Component.
57
57
* @param config - Configuration object
58
58
*/
59
59
export function useAgile < X extends SubscribableAgileInstancesType > (
You can’t perform that action at this time.
0 commit comments