Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
langyo committed Aug 13, 2024
1 parent 7a5e1f5 commit 321c99f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 0 additions & 3 deletions packages/yew/src/dom_bundle/btag/listeners.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#![allow(clippy::empty_docs)]
// TODO: https://github.com/rustwasm/wasm-bindgen/pull/3946

use std::cell::RefCell;
use std::collections::HashMap;
use std::ops::Deref;
Expand Down
3 changes: 0 additions & 3 deletions packages/yew/src/dom_bundle/subtree_root.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
//! Per-subtree state of apps
#![allow(clippy::empty_docs)]
// TODO: https://github.com/rustwasm/wasm-bindgen/pull/3946

use std::borrow::Cow;
use std::cell::RefCell;
use std::collections::HashSet;
Expand Down
4 changes: 3 additions & 1 deletion website/docs/advanced-topics/server-side-rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ Example: [ssr_router](https://github.com/yewstack/yew/tree/master/examples/ssr_r
Yew supports single thread mode for server-side rendering by `yew::LocalServerRenderer`. This mode would work in a single thread environment like WASI.

```rust
// Build it by `wasm32-wasi` target
// Build it by `wasm32-wasip1` target or `wasm32-wasip2` target (after rustc 1.78).
// You can still use `wasm32-wasi` target to build if you are using older version of rustc (before 1.84).
// See https://blog.rust-lang.org/2024/04/09/updates-to-rusts-wasi-targets.html for more information.

use yew::prelude::*;
use yew::LocalServerRenderer;
Expand Down

0 comments on commit 321c99f

Please sign in to comment.