* Fix hot reloading component properties out of order
* ignore signal write warnings in hot reloading
* Fix hot reloading components with only some literal properties
* Add a test for hot reloading component properties
* got a repro, but no solution :(
* hmmmmm 🤔
* awyayayayayayya
* omg it's because we dont create in rev
* Make nodes rev
* fix tests compile
* Clean up PR
* revert changes to native
* Clean up PR, add test
* remove clone mounted; mounted nodes should never leak into components?
* Remove the mount from vnodes after unmounting them
* Fix use after removal in iterator diffing
* remove logs
* Re-fix keyed list diffing
* Use new.len for diffing keyed lens and remove redundant check
* simplify core list diffing logic a bit
* remove println
* add proper asserts for new tests
---------
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
* Fix nested rsx expansion by not using template titles
* fix writers with nameless templates
* fix clippy
* dont commit vscode fix
* fix release mode, pull out __template_name
* fix axum_desktop
* Fix core tests
* Make most fields of HotReloadedTemplate public for testing
* wip: formatting, compare all diff cases
* slightly smarter diffing for dynamic nodes
* add a comment about generic node diffing
* clean up mutations a bit
* fix load template
* simplify maybe_rebuild
* Restore write mutations flag in web
* write_mutations -> skip_mutations
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
* Add new crate to workspace members
* Replace DioxusCrate with cargo metadata
* Skip initializing git repo in already existing workspace
* Fix init in workspace
* Fix naming issues with new packages
Changes how we parse names so `dx new packages/blah`creates a subdirectory instead
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* add liveview cli support
* Fix TUI fullstack deadlock
* look for fullstack assets in the public directory
* Fix fullstack with the CLI
* Fix static generation server
* progress: add test
* feat: optional read signals
* revision: doc
* fix: fmt
* revision: imports
* fix: return type only if option
* add a few more compile tests for optional props
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
* CI: add docsrs to ci
* add env vars
* no need for tokio things
* whoops, wrong rust nightly
* add swc
* bump crate versions to 0.6.0-alpha.0
* hoist up warnings and shuffle cargo.toml
* update cargos and disable warnings from ci
* attempt fix of aws
* attempt disabling aws_lc_sys globally
* pull in lc-sys
* add fips feature to fix docs
* turn on features for aws-lc-sys on cargo-doc-all
* pass along more args
* fix cfg docs
* fix: flakey gen box test
* fix: doc_cfg in static gen
* dont include readme
* fix error on static gen
* remove random line
* temporarily disable warnings
* simplify axum desktop so it doesnt count as a lib
* fix binstall link
* bump locks
* lock fixes
* revert axum desktop
* dont publish some crates
* add new autofmt sample
* Feat: implement rustfmt::skip support for rsx
* generally improve error handling with better expect messages
* wip: nested rsx formatting and expression formatting
* nested rsx formatting works
* collapse autofmt crate
* cast indent through macros
* use proper whitespace
* no more eating comments!
* Use proper error handling
* create the dynamic value pool
* assign ids to dynamic formatted segments
* separate the rendering and literal pools
* rsx output compiles again
* more examples compiling with new rsx expansion
* update template body explanation
* all workspace examples compile
* fix formatted segments in keys
* start hot reload diffing
* fix component literal hot reloading
* start integrate new hot reloading with the CLI
* simple hot reloads working
* Fix hot reloading blocks with components
* implement hot reloading for if chains
* Fix hot reloading after a template requires a full rebuild
* Fix hot reloading any attribute values
* remove unsafe from hot reload utils
* Fix hot reloading empty rsx
* add more hot reloading tests
* reorganize hot reload module
* fix web hydration
* fix empty rsx nodes in autoformatting
* fix tests
* remove path sorting logic from core
* make template names more consistent in debug mode
* fix quote_as_hot_reload_literal for explicitly typed literals
* fix can_be_shorthand for string literals
* fix formatted single dynamic expression
* Fix usize component properties and playwright tests
* remove default implementation for TemplateBody
* add a bunch more comments for diffing, scoring and why this scoring system is optimal