treble-hook
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "treble-hook", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Get hooked on simple subscribe-and-publish in ReactJS.", | ||
@@ -9,10 +9,11 @@ "main": "./lib/index.js", | ||
"pubsub", | ||
"react", | ||
"hooks", | ||
"state management", | ||
"recoil", | ||
"react state management", | ||
"redux", | ||
"subscribe", | ||
"publish", | ||
"react hooks", | ||
"context api", | ||
"passing props", | ||
"dispatch", | ||
"subscribe", | ||
"publish" | ||
"prop passing hell", | ||
"dispatch" | ||
], | ||
@@ -19,0 +20,0 @@ "repository": "https://github.com/igneous-systems/treble-hook", |
@@ -77,3 +77,3 @@ | ||
- [Welcome](https://codesandbox.io/s/treble-hook-welcome-4ynvt) (Quick Start code) | ||
- [Welcome](https://codesandbox.io/s/create-react-app-ts-mui-treblehook-f2tpp) (Quick Start example with Typescript + Material-UI) | ||
- Classic ToDo App (coming soon) | ||
@@ -100,5 +100,5 @@ - Crack that Code Game (coming soon) | ||
trebleHook.addTopic<number>('apples', 25) | ||
trebleHook.addTopic<number>('organges', 42) | ||
trebleHook.addTopic<number>('carrots', 100) | ||
trebleHook.addTopic('apples', 25) | ||
trebleHook.addTopic('organges', 42) | ||
trebleHook.addTopic('carrots', 100) | ||
``` | ||
@@ -124,7 +124,5 @@ | ||
return ( | ||
<App> | ||
<FruitCountPublisher> | ||
<FruitStand /> | ||
</FruitCountPublisher> | ||
</App> | ||
<FruitCountPublisher> | ||
<FruitStand /> | ||
</FruitCountPublisher> | ||
) | ||
@@ -131,0 +129,0 @@ ``` |
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
15234
190