Skip to content

Commit b1c551c

Browse files
committed
upd
1 parent ea4f5fb commit b1c551c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
Whack is an open-source, multi-media platform designed for the Rust language, used for creating rich graphical experiences.
44

5-
## Licensing
5+
## License
66

7-
While Whack is open-source, it [relies](./licensing.md) on a library with a slightly less permissive public license, so ensure your Whack application is distributed in compliance with their license.
7+
While Whack is open-source with the very permissive Apache 2.0 license, it [relies](./licensing.md) on a library with a slightly less permissive public license, so ensure your Whack application is distributed in compliance with their license.
88

99
## Performance
1010

src/whackds.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ yields a `Handler<dyn Fn(...) + 'static>` field.
192192

193193
During memoization, equality, by default, always returns `true` to avoid re-rendering the component. It is assumed that these functions are always never changing.
194194

195+
For event handlers, you may want to have a signature like `|event, detail| { ... }`, so it can be used with the `&=` attribute notation.
196+
195197
### Function (optional)
196198

197199
```rust
@@ -203,6 +205,8 @@ yields an `Option<Handler<dyn Fn(...) + 'static>>` field.
203205

204206
During memoization, the equality comparison of the function objects always returns `true` by default to avoid re-rendering the component. It is assumed that these functions are always never changing.
205207

208+
For event handlers, you may want to have a signature like `|event, detail| { ... }`, so it can be used with the `&=` attribute notation.
209+
206210
### Implicit
207211

208212
A field

0 commit comments

Comments
 (0)