Evan Almloff
c11f2ed3cd
Allow hooks in the expression of a match statement and if statement ( #2902 )
...
* Allow hooks in the expression of a match statement and if statement
* Don't allow hooks in spawn and detect hooks in initialization closures
* Point to DX check when hooks are called conditionally
2024-09-07 13:35:15 -05: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
Jonathan Kelley
ad7a350d2e
fix hotreloading issues in the CLI
2024-03-12 13:39:42 -07:00
Jonathan Kelley
0bd9692e45
Fix cargo test and a number of little cleanup bugs
2024-01-30 17:33:14 -08:00
Jonathan Kelley
1dde044697
remove cx.render
2024-01-13 21:12:21 -08:00
Jonathan Kelley
fae0b08e61
Fix the router and stub out a number of crates to get compiling
2024-01-13 20:51:37 -08:00
Brian Donovan
0e841f8411
fix(check): allow hook calls inside closure hooks
2023-07-24 18:58:19 -07:00
Brian Donovan
1531893a45
improve test coverage and display output
2023-07-23 16:06:55 -07:00
Brian Donovan
2c2534d1cc
feat(check): adds dx check
...
At the moment this only checks the Rules of Hooks, ensuring that hook functions (i.e. `use_*`) are being called as expected.
https://dioxuslabs.com/docs/0.3/guide/en/interactivity/hooks.html
Closes #1202
2023-07-23 16:06:55 -07:00