Commit Graph
37 Commits
Author SHA1 Message Date
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
Evan Almloff 5494e38cf8 Fix event bubbling inside templates after a hot template reload (#2484) 2024-06-06 17:10:38 -07:00
Evan Almloff 88f3558419 Fix reclaim element when hot reloading (#2361)
* Fix reclaim element when hot reloading

* Just disable headless tests on windows
2024-04-25 13:36:43 -04:00
Evan Almloff 26c109f661 fix volatile attributes (#2278) 2024-04-08 18:42:48 -07:00
Marko LazićandLazić cec6b92e42 Move dioxus_core::diff::node logs from info to trace #2165 (#2182)
Co-authored-by: Lazić <markolazic@protonmail.com>
2024-03-29 12:17:00 -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
Evan Almloff 2e3a730ed5 fix clippy 2024-03-04 16:10:04 -06:00
Evan Almloff 797feb5657 remove logging, clean up some code, and fix effect test 2024-03-04 15:09:31 -06:00
Evan Almloff c4b8ebc1cf separate task and scope tasks 2024-03-04 13:04:22 -06:00
Evan Almloff c7ffdc7b29 rerun tasks in the same order as components 2024-02-29 11:43:07 -06:00
Evan Almloff f539698963 add debug information for signal subscriptions 2024-02-26 11:46:01 -06:00
Evan Almloff 50e3216d8b convert T into signals automatically 2024-01-29 13:36:39 -06:00
Jonathan Kelley 7b0dcb3206 Add flush_sync and pre_render methods to core 2024-01-28 01:30:33 -08:00
Evan Almloff b53ba7b5c7 fix replacing fragments 2024-01-19 19:23:01 -06:00
Jonathan Kelley 9f595171ce Remove boxedanyprops abstraction 2024-01-16 16:09:59 -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 51441b44ca fix diffing fuzz test 2024-01-15 10:52:30 -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 36e9eb1160 partially restore spreading attributes 2024-01-14 15:21:19 -06:00
Evan Almloff 69da70fd32 make diffing a bit more resilient 2024-01-11 17:21:38 -06:00
Evan Almloff dc58212508 fix props diffing 2024-01-10 17:13:56 -06:00
Evan Almloff d8e79b656b remove an extra clone 2024-01-09 14:27:25 -06:00
Evan Almloff f1b2f964c0 fix removing root nodes 2024-01-09 12:05:27 -06:00
Evan Almloff b2860a3d73 fix diffing components 2024-01-09 11:50:41 -06:00
Evan Almloff b43dfb1f67 fix mounted information 2024-01-09 11:35:55 -06:00
Evan Almloff 967c082085 clippy fix 2024-01-09 11:02:07 -06:00
Evan Almloff 41abffb267 remove the mount information when a node is dismounted 2024-01-09 11:01:42 -06:00
Evan Almloff 8eb2b74832 move mounted info to the VDOM 2024-01-09 11:01:11 -06:00
Evan Almloff 0175ae0599 refactor diffing a bit 2024-01-09 10:26:32 -06:00
Evan Almloff d1b9703ee7 fix release mode 2024-01-09 10:24:02 -06:00
Evan Almloff 8af39e0f1e fix some more clippy lints 2024-01-09 10:11:31 -06:00
Evan Almloff eb602fc29f clippy fix 2024-01-09 10:09:58 -06:00
Evan Almloff aed29b1dec separate mount information from VNodes 2024-01-09 10:09:08 -06:00