Evan Almloff
0127501dbf
Improve inline docs ( #2460 )
...
Improve inline docs
* improve incorrect event handler return error message
* Improve event handler docs
* document the eval functions
* document spawn and common spawn errors
* fix event handler docs
* add notes about how you use attributes and elements in rsx
* add doc aliases for attributes and events we rename
* add some more aliases for common search terms
* don't doc ignore any public examples in core
* don't ignore public doc examples in ssr
* don't ignore examples in the dioxus package readme
* add a warning when you launch without a renderer enabled
* fix some outdated element docs
* add a bunch of examples to resource
* add notes about desktop events
* add more docs for use_resource
* add on_unimplemented hint to Dependency
* fix some unresolved links
* add examples to each of the router traits
* add not implemented errors for router traits
* add an example to the routable trait
* expand rsx macro docs
* improve memo docs
* update the dioxus readme
* mention dioxus crate features in the docs
* fix a bunch of doc tests
* fix html doc tests
* fix router doc tests
* fix dioxus signals doc tests
* fix dioxus ssr doc tests
* fix use_future example in the hooks cheat sheet
* add a javascript alias for eval
* fix hook explanation values
* remove unused embed-doc-image dependency
2024-06-06 18:15:17 -07:00
Jonathan Kelley
2dc6cecf2e
Fix #2043 : use formvalue instead of String for forms ( #2103 )
...
Fix #2043 : use formvalue instead of String for forms
2024-03-18 18:21:08 -07:00
Evan Almloff
277e4677e9
fix clippy
2024-02-26 11:49:05 -06:00
Evan Almloff
f539698963
add debug information for signal subscriptions
2024-02-26 11:46:01 -06:00
Jonathan Kelley
7b0dcb3206
Add flush_sync and pre_render methods to core
2024-01-28 01:30:33 -08:00
Jonathan Kelley
c3d810bcd0
Little bit more cleanup in core
2024-01-16 18:07:29 -08:00
Jonathan Kelley
8b9bf57c03
Cleanup core more
2024-01-16 17:23:34 -08:00
Evan Almloff
55f76fede6
work on fixing some core tests
2024-01-10 19:21:15 -06:00
Evan Almloff
4a1a00b0f0
fix dioxus ssr
2024-01-10 17:57:15 -06:00
Evan Almloff
3865f44081
make desktop compile
2024-01-05 14:39:45 -06:00
Evan Almloff
d90c71c508
move creation functions into the structs they are creating and unify user and system events
2024-01-05 13:18:48 -06:00
Evan Almloff
32b15fc851
make core compile
2024-01-05 12:25:18 -06:00
Evan Almloff
113b2c1529
port over more diffing + creation logic
2024-01-05 12:07:29 -06:00
Evan Almloff
0c76770da0
remove a lot of unsafe
2024-01-05 10:57:05 -06:00
Evan Almloff
c70e2bfcb6
move diffing into the global runtime
2024-01-05 09:32:50 -06:00
Evan Almloff
f42ef3ef9d
remove more lifetimes
2024-01-05 08:39:22 -06:00
Evan Almloff
3ad16ddd37
rip out more lifetimes
2024-01-04 18:33:01 -06:00
Evan Almloff
c9ff449e45
remove the bump allocator
2024-01-04 17:33:22 -06:00
Jonathan Kelley
ea1325f6e8
Merge branch 'master' into polish-throw
2024-01-04 10:27:51 -08:00
Jonathan Kelley
c1d9553e49
Merge pull request #1624 from Erithax/rename_into_node_traits
...
rename IntoDynNode and IntoTemplate traits
2024-01-04 10:25:49 -08:00
ealmloff
56478d1856
Merge branch 'DioxusLabs:master' into fix-event-bubbling
2023-12-16 06:34:00 -06:00
Evan Almloff
a120af33ad
Merge branch 'master' into fix-event-bubbling
2023-11-11 17:53:47 -06:00
Erithax
c2749b3371
rename IntoDynNode and IntoTemplate traits
2023-11-09 02:00:36 +01:00
Evan Almloff
6141aeb037
polish the throw trait
2023-11-07 18:24:07 -06:00
Evan Almloff
fca9d95519
fix props memory leak
2023-10-26 13:06:42 -05:00
Evan Almloff
b99f081c08
drop any attribute after rendering
2023-10-25 16:37:04 -05:00
Evan Almloff
35b643e23f
switch to bubble ids on vnodes to fix nodes under fragments pointing to an invalid parent
2023-09-11 15:55:58 -05:00
Evan Almloff
9552ab6c1c
pass event propagation test
2023-09-04 19:10:11 -05:00
Evan Almloff
cf04256395
try to keep template indexes valid
2023-08-31 16:14:14 -05:00
Jani Mustonen and Jani Mustonen
31f8bab20d
Add ScopeId::ROOT ( #1398 )
...
* add ScopeId::ROOT
* replace ScopeId(0) with ScopeId::ROOT
---------
Co-authored-by: Jani Mustonen <jani.mustonen@taitounited.fi >
2023-08-25 08:31:23 -05:00
Evan Almloff
d559fdaeab
fix borrowed props with temp values
2023-08-12 19:19:46 -05:00
ealmloff
39ab39ac56
Merge branch 'DioxusLabs:master' into signals
2023-08-10 16:31:00 -05:00
Evan Almloff
b4983706ac
fix variance on components
2023-08-09 10:26:59 -07:00
Evan Almloff
4ee4cf23d3
restore a few unneeded breaking changes
2023-08-08 13:37:29 -07:00
Evan Almloff
ddbe913e79
make signals non-breaking
2023-08-07 14:50:36 -07:00
Evan Almloff
a6f611eccf
fix subscriptions in events
2023-08-04 17:23:57 -07:00
Evan Almloff
998f9e0d00
remove static bound from props
2023-08-04 14:24:49 -07:00
Evan Almloff
cb4c46154d
fix scope context
2023-08-04 14:12:59 -07:00
Evan Almloff
04cdb14e5b
improve signal copy runtime
2023-08-04 13:53:05 -07:00
Jonathan Kelley
4240f8428c
Fix: dont use bumpslab anymore, just box scopestates
2023-07-19 18:40:43 -07:00
Jonathan Kelley
1d371bf971
Merge pull request #1213 from Demonthos/prep-sledgehammer-liveview
...
Prepare for Sledgehammer Bindgen in Liveview
2023-07-18 18:10:48 -07:00
Evan Almloff
a96ccdc6f3
fix clippy
2023-07-18 13:16:17 -07:00
Jonathan Kelley
f0128a3150
implement suspense using simpler approach
2023-07-14 17:12:07 -07:00
Jonathan Kelley
81075748f6
add simple suspense methods
2023-07-14 16:56:17 -07:00
Jonathan Kelley
cbd88bbcc3
Rip out async components
2023-07-14 16:15:20 -07:00
Jonathan Kelley
2d8841cf70
Add lazy contexts to signals
2023-07-14 12:52:49 -07:00
Jonathan Kelley
1489492ec4
Reuse existing slots in provide context
2023-07-07 12:18:15 -07:00
Jonathan Kelley
3a1b22aec2
Use linear scans on contexts
2023-07-07 12:04:09 -07:00
Jonathan Kelley
47513e8b9e
Use boxes instead of bumpslab for hooks
2023-07-06 12:43:04 -07:00
Evan Almloff
2c0eb303f6
fix the provide context docs
2023-02-27 15:05:49 -06:00