windowed-observable
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "windowed-observable", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Simple messaging api", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -28,3 +28,3 @@ # windowed-observable | ||
observable.subscribe((ninja) => { | ||
console.log({ ninja }) | ||
console.log(ninja) | ||
}) | ||
@@ -43,3 +43,3 @@ | ||
observable.subscribe((ninja) => console.log({ ninja }), { latest: true }); | ||
observable.subscribe((ninja) => console.log(ninja), { latest: true }); | ||
// > Senju Tobirama | ||
@@ -54,3 +54,3 @@ ``` | ||
const observer = (ninja) => console.log({ ninja }); | ||
const observer = (ninja) => console.log(ninja); | ||
@@ -113,3 +113,5 @@ observable.subscribe(observer) | ||
const AddNinjaButton = (ninja) => <button onClick={handleClick(ninja)}> Add ninja </button>; | ||
const AddNinjaButton = ({ ninja }) => ( | ||
<button onClick={handleClick(ninja)}> Add ninja </button> | ||
); | ||
``` |
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
113
9072