WorldSEnder
1d579a8bf4
Rework a bunch of cfg(feature) flags to be more principled ( #2666 )
...
* rework a bunch of feature flags to be more principled
* fixup of Collectable
* silence clippy
* unfix Mountable trait
leads to bundle size increase, so stick to the optimized version
* use required-features for function_router
* use --all-features in various places
* disable tokio dependency on wasm tests again
* add some #[inline] annotations
* merge one more feature annotations
* fixup: remove a line connected to trace_hydration
2022-05-07 21:17:47 +05:00
Kaede Hoshikawa
e46ae55cab
SSR Hydration ( #2552 )
...
* Bring changes to this branch.
* Add feature hydration.
* Hydrate text.
* Hydrate tag.
* Hydrate node.
* Hydrate List.
* Hydrate Suspense.
* Hydrate component.
* Renderer::hydrate.
* Add example and tests.
* Fix comp_id.
* Move some code away from generics.
* Fix everything.
* trybuild?
* Collectable!
* Phantom component.
* Migrate docs as well.
* Update example.
* Fix docs and improve debug message.
* Minor fixing.
* Add hydration to feature soundness check.
* Fix name in debug.
* Remove Shift.
* Remove comment.
* Adjust readme.
* Update website/docs/advanced-topics/server-side-rendering.md
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
* Update packages/yew/src/dom_bundle/bnode.rs
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
* Update packages/yew/src/dom_bundle/bnode.rs
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
* Once via structopt, now direct clap.
* Fix docs and empty fragment.
* Remove struct component warning.
* Move function router into a separate binary.
* Optimise Code Logic.
* Fix condition.
* Fix rendering behaviour.
* Fix comment.
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
2022-04-03 08:00:16 +09:00
Kaede Hoshikawa
8bc2212716
#[cfg(feature = "render")] and yew::Renderer (#2498 )
...
* Bring changes to this branch.
* Bring changes to this branch.
* Add feature render and renderer.
* Bring changes to this branch.
* Migrate examples to Renderer.
* Satisfy no any render.
* Satisfy ssr.
* Satisfy feature render.
* Lint feature soundness.
* Suppress tests.
* Fix pr-flow, update docs.
* Add a notice.
* Adjust visibility.
* Correctly feature gate tests.
* make test scope available under feature render.
* Fix CI.
* Fix CI.
* Restore tests module to its original place as well.
* Make bundles crate private.
* Make most bundle APIs private.
* Adjust docs.
* Adjust debug implementation.
* Replace start_app with Renderer.
* Adjust documentation.
* Remove unused lint.
* Remove start_app from docs.
* DomBundle -> ReconcileTarget.
* Adjust documentation.
* Once render, now csr.
* Fix docs as well.
2022-03-20 00:48:47 +09:00
Kaede Hoshikawa
839a7965ad
Function Router Example ( #2494 )
...
* Move example from #2453 .
* Add implementation note.
* Update Implementation Note.
2022-03-07 18:38:22 +05:00