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
Jonathan Kelley
b3ac2ee3f7
wip: upgrade hooks
2021-12-27 15:03:43 -05:00
Jonathan Kelley
c7d001cbb4
wip: rip out unsafe task engine
2021-12-26 14:22:30 -05:00
Jonathan Kelley
4de16c4779
docs: update local examples and docs to support new syntaxes
2021-12-15 15:56:53 -05:00
Jonathan Kelley
e6c6bbdc1e
polish: clean up the core crate
2021-12-12 19:47:13 -05:00
Jonathan Kelley
1e4a599d14
wip: rename fc to component
2021-12-09 21:19:31 -05:00
Jonathan Kelley
52c7154897
fix: really big bug around hooks
2021-11-29 11:10:40 -05:00
Jonathan Kelley
4a4c7afca7
feat: shared state mechanisms
2021-10-11 15:35:20 -04:00
Jonathan Kelley
f1cff845ce
wip: examples
2021-09-21 12:11:04 -04:00
Jonathan Kelley
304259d818
wip: move examples around
2021-07-11 18:39:45 -04:00
Jonathan Kelley
269e81b0fd
example: ssr + tide
2021-07-11 17:24:47 -04:00
Jonathan Kelley
8cfc437bfe
wip: some project refactor
2021-07-09 11:54:07 -04:00
Jonathan Kelley
98a09339fd
wip: move some examples around
2021-07-07 16:19:10 -04:00
Jonathan Kelley
81382e7044
chore: rename ctx to cx
2021-06-25 21:15:33 -04:00
Jonathan Kelley
fe6938ceb3
wip: pre vnodes instead of vnode
2021-06-08 14:00:29 -04:00