Jonathan Kelley
4f1d039bad
clean up prelude ( #4416 )
...
* clear away prelude on dioxus
* clippy
* wip - drop prelude from dioxus-html
* docs clippy
* wip
* more fixe
* delete all preludes
* doc...
* better export
* merge some imports
* fewer global imports
* global incremental renderer
* fix cargo doc
2025-07-16 16:04:13 -07:00
Evan Almloff
b6dc2a2230
Deduplicate reactive scope updates/Reset subscriptions on reruns/fix use memo double update ( #2506 )
...
* deduplicate effect updates
* only subscribe to signals read in the current run of reactive scopes
* subscribe to memo reads after recomputing the value
2024-06-18 18:49:25 -07:00
Evan Almloff
5290b658fd
Fix effects triggered from async tasks; improve work scheduling docs ( #2370 )
...
* 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
2024-05-04 15:30:13 +01:00
Jonathan Kelley
821a650f77
Fix: requeue events, process events ( #2236 )
...
* Fix: requeue events, process events
* Fix test: wait_for_work shouldn't wait 3 times when one update happens while rendering
2024-04-04 11:46:31 -07:00
Evan Almloff
0662033c84
Fix early drop of eventhandlers ( #2126 )
...
* fix early drop of eventhandlers
* add a test for stale props that are memorized in place
* fix clippy
2024-03-22 14:37:02 -07:00
Evan Almloff
f51b5617e1
add a test for the memo hook
2024-03-11 15:33:46 -05:00
Evan Almloff
05a6dda89c
fix formatting
2024-02-14 12:13:54 -06:00
Evan Almloff
48751d2f98
only subscribe scopes to signals when rendering
2024-02-14 09:33:22 -06:00