* improve documentation for the fullstack server context
* Add a section about axum integration to the crate root docs
* make serve_dioxus_application accept the cfg builder directly
* remove unused server_fn module
* improve fullstack config docs
* improve documentation for the server function macro
* fix axum router extension link
* Fix doc tests
* Fix launch builder
* Simplify the launch builder
* don't re-export launch in the prelude
* refactor fullstack launch
* Fix fullstack launch builder
* Update static generation with the new builder api
* fix some formatting/overly broad launch replacements
* fix custom menu example
* fix fullstack/static generation examples
* Fix static generation launch
* A few small formatting fixes
* Fix a few doc tests
* implement LaunchConfig for serve configs
* fix fullstack launch with separate web and server launch methods
* fix check with all features
* dont expose inner core module
* clippy and check
* fix readme
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Use of async_std::task::sleep instead of tokio::time::sleep
* Make the clock example run on wasm
* Add control_focus and eval examples to Cargo.toml
* Use web-time on desktop; It just falls back to std on non-wasm platforms
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Wait_for_suspense now does not call flush_sync, making it
appropriate for deferring effects on the server. Futures will
still run on the server (as needed to progress suspense)
but use_effect / and memo watchers will not run on the server
This commit adjusts how exprs and for loops are handled within
rsx. This is a breaking change in terms of codegen, but has
slight semantic changes as well.
Now, when exprs/for loops are allocated, they are given a temporary.
The temporary is elided to the <'a> lifetime of the bump, to satisfy
the borrow checker. This fixes issues with signals where exprs/for
loops mapping vecs out of RefCells would be caught up without a
temporary lifetime.