Skip to content

Commit 43bf049

Browse files
committed
upd
1 parent 6a14efa commit 43bf049

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/introduction.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
# Introduction
22

3-
Whack is an interactive application creation platform designed for the Rust language.
3+
Whack is an open-source, multi-media application creation platform designed for the Rust language.
4+
5+
## Licensing
6+
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.
8+
9+
## Performance
10+
11+
Whack aims to be faster than Progressive Web Applications – which are typically implemented using HTML5, TypeScript and reactive frameworks like React.js. HTML5 applications are well-known for consuming significant RAM memory and high CPU usage.

src/whackds.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub fn Component1(
4040
(*button).unwrap().focus();
4141
});
4242

43-
ds::xn! {
43+
ds::xml! {
4444
<w:VGroup s:color="orange">
4545
// Style sheet scoped to that VGroup tag.
4646
<w:Style>
@@ -131,7 +131,7 @@ Fixtures are used similiarly to states, except they do not trigger a re-render o
131131
132132
`Option<whack::ds::Fixture<T>>` is used for passing fixtures down to components. An actual fixture is represented by `whack::ds::FixtureFixture<T>`.
133133

134-
It is common to do the following in `whack::ds::xn!`:
134+
It is common to do the following in `whack::ds::xml!`:
135135

136136
```rust
137137
bind={|val| {
@@ -323,7 +323,7 @@ whack::ds::use_effect!({
323323

324324
## Item key
325325

326-
When interpolating a list of nodes inside the `xn!` macro, make sure to specify the special `key` attribute with an unique ID for each item.
326+
When interpolating a list of nodes inside the `xml!` macro, make sure to specify the special `key` attribute with an unique ID for each item.
327327

328328
## Data attributes
329329

0 commit comments

Comments
 (0)