react-context-api-store
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "react-context-api-store", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "An HOC state management inpired by redux implemented using react's context api.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -94,3 +94,3 @@ # Repo status? | ||
The provider always assume that the store is an object and no checks were added to minimize the file size. Making sure that you pass an object as the `store` is up to you. | ||
The provider always assume that the store is an object. No checks were added to minimize the file size. Making sure that you pass an object as the `store` is up to you. | ||
@@ -103,2 +103,6 @@ #### Connecting a component to the store | ||
###### Note | ||
`connect` always assume that the first parameter is a function. No checks were added to minimize the file size. | ||
**example code** | ||
@@ -120,3 +124,8 @@ | ||
###### Note | ||
- `connect` always assume that the second parameter is an object. No checks were added to minimize the file size. | ||
- `dispatcher` always assume that all actions are functions. No checks were added to minimize the file size. | ||
- `store.updateStore` always assume that you'll give it an object as the first parameter. No checks were added to minimize the file size. | ||
**example code** | ||
@@ -123,0 +132,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
148819
287