Replaces `RwLock::try_read` with `RwLock::read` in `SyncStorage`. This change prioritizes potential deadlocks over panics, as unwrapping a failed `try_read` is deemed less desirable.
* autocomplete rsx
* hide the completions module
* fix autocomplete for identifiers that start with a raw identifier
* add field completion hints for props
* remove extra import
* Revert "add field completion hints for props"
This reverts commit 194899c737.
* fix autocomplete inside raw expressions
* fix autofmt
* feat: just use regular ifmt if it's compatible
reuses the tokens for ifmt so RA provides its HIR lowering on simple formatted strings
* fix merging ifmt strings
* add a better error message for components called like functions
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* create static site generation helpers in the router crate
* work on integrating static site generation into fullstack
* move ssg into a separate crate
* integrate ssg with the launch builder
* simplify ssg example
* fix static_routes for child routes
* move CLI hot reloading websocket code into dioxus-hot-reload
* fix some unused imports
* use the same hot reloading websocket code for fullstack
* fix fullstack hot reloading
* move cli hot reloading logic into the hot reload crate
* ssg example working with dx serve
* add more examples
* fix clippy
* fix formatting
* fix hot reload doctest imports
* fix axum imports
* don't run server doc tests
* Fix hot reload websocket doc examples
* Add access to the Element attributes related to scrolling
* Fix clippy warnings
* Restore interpreter/src/js/hash.txt content
* Update generated interpreter files
* Use euclid types as return types
* Remove redundant functions
* It's not necessary for PixelsSize to be in 3D
* Rename PixelsVector to PixelsVector3D and add a PixelsVector2D type
* Remove unused PixelsLength type
* outline work scheduling
* move scheduling code from dirty_scope to scheduler
* introduce queue_effect
* Run effects after all tasks are polled if there are no components rerendered
* add a new test for async effects
* don't poll desktop before the render has been applied
* fix desktop headless tests
* move edit queued code into the edit channel and add more comments
* wip
* pull out eval into the interpreter
* fix web eval
* fix DioxusChannel name
* properly drop dioxus channel
* use typescript dioxus chanel in desktop
* add more comments to native eval
* add desktop headless eval tests
* expand web playwright eval tests
* fix web headless tests
* fix default hasher path
* run eval tests on windows
* restore desktop query drop code
* remove data from drop desktop query message
* catch syntax errors in desktop eval
* catch js runtime errors in desktop
* fix typo interprerter -> interpreter
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* restore set compare hook
* fix use_set_compare doc example
* add a hook to compare a value with a set
* implement partialeq for SetCompare
* export the new hook
* fix the use_set_compare hook
* Try to fix event handler drops
* fix Option<EventHandler> parsing logic
* only move over props if both event handlers are some
* fix owner forwarding with props(extends)
* fix clippy
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>