Commit graph

1096 commits

Author SHA1 Message Date
Jonathan Kelley
fb4f97406c
Fix router codegen 2024-01-16 15:48:37 -08:00
Jonathan Kelley
3fb7c359c2
Rename to component function 2024-01-16 15:09:44 -08:00
Jonathan Kelley
c94af9538b
Remove phantom markers and just default to Rc<dyn Fn(props) -> Element> where it makes sense 2024-01-16 15:07:22 -08:00
Evan Almloff
5ca0c9cbf8 fix light diffing components 2024-01-16 16:21:17 -06:00
Evan Almloff
c4d6f19b38 remove logs 2024-01-16 16:17:52 -06:00
Evan Almloff
ad01a45f3b restore core tests 2024-01-16 15:51:02 -06:00
Evan Almloff
b58eb04278 Fix basic routers 2024-01-16 14:39:48 -06:00
Evan Almloff
e65c5f0eb3 depreciate the render macro 2024-01-16 13:18:46 -06:00
Evan Almloff
7e4d2debe0 implement launch builder for the desktop and web platforms 2024-01-16 08:42:16 -06:00
Evan Almloff
ef553a2cb2 unbox component functions 2024-01-16 07:48:32 -06:00
Jonathan Kelley
bb750f5336
Fix effect stack issue 2024-01-15 20:45:59 -08:00
Jonathan Kelley
a32ae8b112
Remove push_future, get use_future kinda working again 2024-01-15 19:34:04 -08:00
Jonathan Kelley
14651a3573
Change context api to panic with nice error message 2024-01-15 18:02:58 -08:00
Jonathan Kelley
ee5020c41f
actually set task 2024-01-15 17:37:50 -08:00
Jonathan Kelley
1332b82dc8
Expose current task 2024-01-15 17:32:49 -08:00
Evan Almloff
af1749d7be re export renderers in dioxus 2024-01-15 19:14:11 -06:00
Jonathan Kelley
bb6aa9e792
Add back ondestroy hook 2024-01-15 14:27:20 -08:00
Jonathan Kelley
6134a2ce24
Clean up a number of examples 2024-01-15 13:06:05 -08:00
Evan Almloff
940108f242 fix hydration 2024-01-15 13:23:35 -06:00
Evan Almloff
16d5d00bdf fix ssr tests 2024-01-15 11:12:24 -06:00
Evan Almloff
b039d6acc0 fix remaining core tests 2024-01-15 11:06:27 -06:00
Evan Almloff
51441b44ca fix diffing fuzz test 2024-01-15 10:52:30 -06:00
Evan Almloff
4c5a311191 fix create fuzzing test 2024-01-15 10:21:44 -06:00
Evan Almloff
a1c68448a7 fix placeholder template names 2024-01-15 10:15:55 -06:00
Evan Almloff
0f01f3fd84 fix replacing VNodes 2024-01-15 10:05:04 -06:00
Evan Almloff
a8172b0ab5 restore replace optimization 2024-01-15 09:59:50 -06:00
Evan Almloff
20480c0a2d fix use_hook imports 2024-01-15 09:10:15 -06:00
Evan Almloff
01726d6656 remove once, restore use_hook 2024-01-15 09:05:46 -06:00
Evan Almloff
36e9eb1160 partially restore spreading attributes 2024-01-14 15:21:19 -06:00
Jonathan Kelley
9881a94e67
Remove cx in more places 2024-01-13 21:18:36 -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
Jonathan Kelley
e801007698
Clean up some bits 2024-01-11 17:36:00 -08:00
Jonathan Kelley
8c94f0bc4a
get compiling 2024-01-11 16:51:18 -08:00
Jonathan Kelley
2ae3241cc0
Merge branch 'master' into jk/breaking-merged 2024-01-11 16:04:36 -08:00
Evan Almloff
69da70fd32 make diffing a bit more resilient 2024-01-11 17:21:38 -06:00
Evan Almloff
6c29e2b825 clean up some core context APIs 2024-01-11 17:21:13 -06:00
Evan Almloff
d51b6268eb restore error boundaries in core 2024-01-11 17:20:53 -06:00
Evan Almloff
1034377a6f document ComponentFunction 2024-01-11 16:37:42 -06:00
Jonathan Kelley
4f077ec664
Merge pull request #1812 from ealmloff/duplicate-event-listener-rsx
check for duplicate event listeners in the rsx macro
2024-01-11 14:34:01 -08:00
Evan Almloff
598b557aee rename HasProps to ComponentFunction 2024-01-11 15:53:14 -06:00
Evan Almloff
3267ddec10 more consistent naming of the root component in core 2024-01-11 15:23:37 -06:00
Evan Almloff
7fe6e05da3 remove trybuild now that core is more safe 2024-01-11 15:21:13 -06:00
Evan Almloff
fd0a53ab63 make all core tests compile 2024-01-11 15:18:11 -06:00
Jonathan Kelley
8ff13c3c1b
Fix some basic clippy stuff 2024-01-11 12:13:38 -08:00
Jonathan Kelley
1527b81e02
Components participate in event handlers 2024-01-11 12:11:27 -08:00
Evan Almloff
a9d09d858b fix more errors in core tests 2024-01-11 12:40:36 -06:00
Evan Almloff
bcbb647d02 fix constructing no argument components 2024-01-11 11:44:18 -06:00
Evan Almloff
1794debf79 fix components that take no arguments 2024-01-11 11:11:44 -06:00
Evan Almloff
404c864246 make the root component take no arguments 2024-01-11 10:48:04 -06:00