Skip to content

Commit

Permalink
docs: typos
Browse files Browse the repository at this point in the history
* Fixed wording

* Update ARCHITECTURE.md

Fixed superfluous whitespace
  • Loading branch information
aperepel authored Jul 19, 2023
1 parent c1c49ce commit 951607d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ for reference: they include large amounts of manual SSR route handling, etc.
## `cargo-leptos` helpers
`leptos_config` and `leptos_hot_reload` exist to support two different features
of `cargo-leptos`, namely its configuration and its view-patching/hot-
reloading features.
of `cargo-leptos`, namely its configuration and its view-patching/hot-reloading
features.
It’s important to say that the main feature `cargo-leptos` remains its ability
to conveniently tie together different build tooling, compiling your app to
Expand Down
2 changes: 1 addition & 1 deletion docs/book/src/reactivity/interlude_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub fn SimpleCounter(cx: Scope) -> impl IntoView {

The `SimpleCounter` function itself runs once. The `value` signal is created once. The framework hands off the `increment` function to the browser as an event listener. When you click the button, the browser calls `increment`, which updates `value` via `set_value`. And that updates the single text node represented in our view by `{value}`.

Closures are key to reactivity. They provide the framework with the ability to rerun the smallest possible unit of your application in responsive to a change.
Closures are key to reactivity. They provide the framework with the ability to rerun the smallest possible unit of your application in response to a change.

So remember two things:

Expand Down

0 comments on commit 951607d

Please sign in to comment.