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

Optimize website with wasm-opt #211

Merged
merged 1 commit into from
Aug 18, 2021
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion packages/sycamore/src/generic_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub type EventHandler = dyn Fn(Event);
///
/// Note that components are **NOT** represented by [`GenericNode`]. Instead, components are
/// _disappearing_, meaning that they are simply functions that generate [`GenericNode`]s inside a
/// new reactive context. This means that there is no overhead whatsoever when using components.
/// new reactive context. This means that using components add minimal overhead.
///
/// Sycamore ships with 2 rendering backends out of the box:
/// * [`DomNode`] - Rendering in the browser (to real DOM nodes).
Expand Down
1 change: 1 addition & 0 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
/>
<meta name="keywords" content="rust wasm web reactive" />

<link data-trunk rel="rust" data-wasm-opt="3" />
<link data-trunk rel="css" href="static/tailwind.css" />
<link data-trunk rel="copy-dir" href="static" />
<link data-trunk rel="copy-file" href="robots.txt" />
Expand Down