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 working_with_signals.md #1785

Merged
merged 1 commit into from
Sep 26, 2023
Merged
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
4 changes: 2 additions & 2 deletions docs/book/src/reactivity/working_with_signals.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ let memoized_double_count = create_memo(move |_| count() * 2);
```

> For guidance on whether to use a derived signal or a memo, see the docs for [`create_memo`](https://docs.rs/leptos/latest/leptos/fn.create_memo.html)
>
> **2) C is a function of A and some other thing B.** Create signals for A and B and a derived signal or memo for C.

**2) C is a function of A and some other thing B.** Create signals for A and B and a derived signal or memo for C.

```rust
let (first_name, set_first_name) = create_signal("Bridget".to_string());
Expand Down