Jonathan Kelley
537f064001
Remove some old docs, cleanup some readmes
2024-03-27 17:28:30 -07:00
Evan Almloff
df41df75d0
switch to use_reactive
2024-03-15 11:54:09 -05:00
Evan Almloff
0951a389f7
add a way to add manual dependency tuple to memos and effects
2024-03-13 09:54:48 -05:00
Evan Almloff
48751d2f98
only subscribe scopes to signals when rendering
2024-02-14 09:33:22 -06:00
Evan Almloff
b4d17abfc1
document all features
2024-02-09 12:15:59 -06:00
Jonathan Kelley
0bd9692e45
Fix cargo test and a number of little cleanup bugs
2024-01-30 17:33:14 -08:00
Jonathan Kelley
cef64d43df
move hooks out of signals crate
2024-01-29 17:02:26 -08:00
Jonathan Kelley
dcdada542b
Properly implement wait_for_suspense
...
Wait_for_suspense now does not call flush_sync, making it
appropriate for deferring effects on the server. Futures will
still run on the server (as needed to progress suspense)
but use_effect / and memo watchers will not run on the server
2024-01-29 14:12:05 -08:00
Jonathan Kelley
1847c737e9
Queue effects to run after flush_sync
2024-01-28 02:21:05 -08:00
Jonathan Kelley
028f499bf6
Fix generational box in release mode
2024-01-21 12:46:19 -08:00
Jonathan Kelley
06d9b575b7
rename use_selector to use_memo
2024-01-20 23:32:12 -08:00
Jonathan Kelley
94b17cc8ca
Fix non tokio builds for desktop
2024-01-18 04:07:28 -08:00
Jonathan Kelley
14651a3573
Change context api to panic with nice error message
2024-01-15 18:02:58 -08:00
Jonathan Kelley
74aa55f85f
Bring back mroe hooks, remove old hooks, cleanup a number of examples
2024-01-15 17:04:39 -08:00
Jonathan Kelley
bb6aa9e792
Add back ondestroy hook
2024-01-15 14:27:20 -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
Evan Almloff
4013341b6c
hello world example working
2024-01-05 18:01:05 -06:00
Exotik850
694989e826
Add use_const hook ( #1667 )
...
* Add use_const hook
* cargo fmt
* clippy allow
* pub fn on get_rc
2023-11-28 09:51:09 -06:00
Leonard
2d1234c3d1
Include README and Dioxus logo in package docs ( #1536 )
...
* Include README in docs.rs and add Dioxus logo
* Update README.md
2023-10-10 10:52:48 -05:00
Leonard and Evan Almloff
30a3283438
Add use_on_mount and fix some typos ( #1497 )
...
* Add `use_on_mount` and fix some typos
* Optimize away UseOnMount struct
* `use_on_mount`, `use_on_unmount` -> `use_on_create`, `use_on_destroy`
* Make `use_on_unmount` deprecated
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com >
2023-10-04 08:23:21 -05:00
Leonard
a2dd926f7f
Rename modules to use snake_case ( #1498 )
2023-09-26 17:20:29 -05:00
Evan Almloff
24c626b306
fix clippy
2023-08-08 13:43:57 -07:00
Evan Almloff
4ee4cf23d3
restore a few unneeded breaking changes
2023-08-08 13:37:29 -07:00
Evan Almloff
cfd68bf7d9
document signals crate
2023-08-07 16:56:49 -07:00
Evan Almloff
33ee0636d6
add computed hook
2023-07-20 11:07:55 -07:00
Jonathan Kelley
9d2b44aa0f
Merge branch 'master' into feature/use-shared-state-better-diagnostics
2023-07-14 15:07:53 -07:00
Jonathan Kelley
2d8841cf70
Add lazy contexts to signals
2023-07-14 12:52:49 -07:00
niedzwiedzw
337697a886
test with forked version of debug-cell
2023-07-13 20:12:28 +02:00
Jonathan Kelley
b25501af48
Merge pull request #1139 from Demonthos/add-onunmount-hook
...
Add on unmount hook
2023-07-12 14:26:56 -07:00
traxys
f2c1c05792
Add a helper macro for properties & async
...
The to_owned macro is helpful to handle hooks with async components, but
when using properties it can be problematic because `cx` will be moved
in the async block, and will result in a compilation error. This adds a
new helper that allows to make either hooks or properties owned.
2023-07-06 15:18:19 +02:00
Evan Almloff
a6e87cf340
fix tests
2023-06-30 12:56:22 -07:00
Evan Almloff
60b25e9c2f
add on unmount hook
2023-06-30 08:54:08 -07:00
Evan Almloff
c7e957d6f9
add use_memo
2023-01-29 15:57:40 -06:00
Jonathan Kelley
0bf4725639
fix: namespacing of dynamic attributes
2022-12-07 15:11:51 -08:00
Jonathan Kelley
4eefc3f854
chore: rename all &cx to cx, make clipppy happy
2022-12-07 13:11:40 -08:00
Jonathan Kelley
a61daf220d
feat: context api overhaul
2022-12-02 16:24:49 -08:00
Jonathan Kelley
3b166c9edd
wip: clean up some things
2022-11-30 23:54:30 -05:00
Jonathan Kelley
57c10174ec
wip: add use_callback hook
2022-11-19 13:21:02 -08:00
Koptan
04cb82b31a
fix: export useeffect in hooks module
2022-04-26 19:19:13 +02:00
Jonathan Kelley
e51b47d1fb
chore: move macros around
2022-03-02 17:56:12 -05:00
Jonathan Kelley
d512a6758f
Merge branch 'master' into jk/coroutine-coroutineoverhaul
2022-02-26 17:50:38 -05:00
Jonathan Kelley
74f40da997
clippy: remove unused module
2022-02-26 17:36:33 -05:00
Jonathan Kelley
64edc6e1b1
feat: useeffect implemented
2022-02-26 03:12:22 -05:00
Jonathan Kelley
7a5c403e38
wip: add use_callback
2022-02-23 09:47:53 -05:00
Jonathan Kelley
fb661e5519
wip: disable hook documentation
2022-02-20 23:52:54 -05:00
Jonathan Kelley
b2a4d387c7
docs: document all of desktop crate
2022-02-20 23:52:36 -05:00
Jonathan Kelley
a8952a9ee8
fix: exampels
2022-01-25 21:41:40 -05:00
Jonathan Kelley
d84fc05386
feat: plug in bubbling
2022-01-03 02:06:42 -05:00
Jonathan Kelley
14961023f9
wip: polish some more things
2021-12-29 21:28:28 -05:00