mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* yew::platform? * Stream Response. * Migrate example * Remove old implementation. * Remove extra implementation. * Prefer String instead of Cow. * Fix MSRV. * Fix trybuild. * Optimise Memory Allocation. * More optimisation. * BufWriter. * Fix tests. * Optimise BufWriter. * Remove more allocations. * Allow setting of buffer capacity. * Fix capacity size. * Fix capacity size. * Remove unneeded const notation. * Fix macro tests. * Slightly optimises BufWriter committing logic. * Optimise Implementation. * Move BufWriter to a separate file. * Additional Implementation Note. * Adjust API so it matches `std::channel::mpsc::channel`. * Fix feature soundness. * Make a compatibility layer on channels. * Fix clippy. * Fix feature soundness. * Fix CI. * Inlining. * Add documentation. * Punctuation. * Switch to tokio channel. * Remvoe pin-project. * Fix feature soundness. * Typo. * Move io to platform. * Tokio does not compile. * Fix workflow. * Restore wrongly removed docs. * Does tokio work? * Switch back to tokio. * Remove pin-project. * Use cargo resolver 2. * Add panic notice. * Update documentation. * Properties does not have to be send. * Fix capacity checking as pointed in the review. * Implementation order. * Update note.
SSR Router Example
This example is the same as the function router example, but with server-side rendering and hydration support. It reuses the same codebase of the function router example.
How to run this example
- Build Hydration Bundle
trunk build examples/ssr_router/index.html
- Run the server
cargo run --features=ssr --bin ssr_router_server -- --dir examples/ssr_router/dist
- Open Browser
Navigate to http://localhost:8080/ to view results.