Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #590

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ You now declared `unsubscribe`, but it still needs to be called, for example thr

let count_value;

const unsubscribe = count.subscribe(value => {
const unsubscribe = count.subscribe((value) => {
count_value = value;
});

Expand All @@ -51,7 +51,7 @@ It starts to get a bit boilerplatey though, especially if your component subscri

---let count_value;---

---const unsubscribe = count.subscribe(value => {
---const unsubscribe = count.subscribe((value) => {
count_value = value;
});---

Expand Down