* move history providers into a separate crate
* start moving route providers into the renderers
* clean up intoroutable
* remove into routable
* fix router tests
* Provide history providers in each renderer
* implement nested routers
* move the lens out of the history crate
* re-export dioxus history trait in the prelude
* also re-export the history function
* fix history doctests
* some light cleanups
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* add a default head method through eval
* remove the old document trait
* implement document for each platform
* pull out document into a dedicated crate to cut down on shared dependencies
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* add prevent default methods to the event
* sync prevent default almost working
* sync prevent default working
* Move event handling into the runtime
* update core tests
* restore desktop file dialog
* implement prevent default on web
* add a hint about the new prevent default method
* fix web prevent default
* Fix CTRL+click on links
* fix values memorize in place test
* Fix a few more tests
* Add a playwright test for sync prevent default
* Fix core doc tests
* create a deprecated VirtualDom::handle_event
* fix macos imports in desktop
* Fix onmounted event
* Fix liveview support
* switch to RefCell for metadata
* Remove println
* remove prevent default attribute
* remove web specific link behavior
* Fix liveview links
* more liveview fixes for link
* Fix merge conflicts
* Fix clippy
* use the new prevent default in the file upload example
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
* switch to a Document trait and introduce Script/Head/Style/Meta components
* Fix desktop title
* Insert special elements into the head during the inital SSR render
* Make all head component attributes optional
* hydrate head elements
* improve the server streaming head warning
* Document fullstack head hydration approach
* deduplicate head elements by href
* move Link into head::Link
* document head components
* add meta and title examples
* Fix a few doc examples
* fix formatting
* Add title to playwright tests
* serde is optional on web, but it is enabled by hydrate
* remove leftover console log
* warn if a package relies on the CLI config, but it is not built with the CLI
* fix default features
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>