Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

treble-hook

Package Overview
Dependencies
Maintainers
6
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

treble-hook - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

17

package.json
{
"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 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc