Commit Graph
139 Commits
Author SHA1 Message Date
Evan Almloff b99f081c08 drop any attribute after rendering 2023-10-25 16:37:04 -05:00
Jani MustonenandJani 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
Jonathan Kelley a6c13c8ad0 Move event return to HTML crate 2023-02-08 15:51:28 -08:00
Jonathan Kelley 9ebafc46bb feat: allow 'static futures to be spawned from handlers 2023-02-06 00:54:08 -08:00
Evan Almloff 65be035506 only add non-static components to the borrowed_props list 2023-01-29 11:53:52 -06:00
Evan Almloff 82e2175500 make entry key return scopeid 2023-01-23 10:08:11 -06:00
Evan Almloff 00a9ad29a8 fix memory leak 2023-01-22 21:24:30 -06:00
Evan Almloff ae028d82f8 use bump slab 2023-01-22 17:16:34 -06:00
Evan Almloff d7f9a07f4e fix 2023-01-15 13:52:06 -06:00
Jonathan Kelley 39c4f3f814 fix: ci not passing 2023-01-10 16:39:56 -08:00
Jonathan Kelley faf94c7b4e fix: make miri pass on context api 2023-01-09 13:50:33 -08:00
ealmloff 64881fd951 improve error message when a user tried to use nested hooks (#723) 2023-01-05 13:05:04 -06:00
Jon Kelley 07e71956d4 Merge pull request #648 from Demonthos/fix-non-str-attributes
fix custom attribute value support
2023-01-02 23:41:45 -05:00
Evan Almloff c0f9355648 fix any value dropping 2023-01-02 21:26:12 -06:00
Evan Almloff 51dba50c04 use BumpBox<Any> and FromAnyValue instead of sync bounds 2023-01-02 14:40:25 -06:00
Maurice Kayser c8f88b6428 Fix typo (#702) 2023-01-01 14:41:18 -06:00
Evan Almloff 044462876d Merge branch 'upstream' into fix-non-str-attributes 2022-12-28 20:36:57 -06:00
= 1555500fbd drop any values correctly 2022-12-26 10:53:25 -06:00
Evan Almloff afd024bcb6 Merge branch 'upstream' into fix-non-str-attributes 2022-12-23 15:53:39 -06:00
Jonathan Kelley 2fa3fe1fc0 fix: use arcwake instead of rcwake 2022-12-20 11:13:06 -08:00
Jonathan Kelley d3be971f4e chore: rollback to option instead of anyhow 2022-12-19 18:06:13 -08:00
Jonathan Kelley cc7736302a Merge branch 'master' into fix-non-str-attributes 2022-12-17 01:51:13 -08:00
Jonathan Kelley 4d73ffa361 fix: save listeners, borrowed props, and pull back props 2022-12-16 19:54:33 -08:00
Jonathan Kelley b659f4d5d6 chore: add back template diffing 2022-12-13 15:18:20 -08:00
Jonathan Kelley d4b6bb8a7b feat: fix the scope rollover bug 2022-12-12 18:31:30 -08:00
= 73ec4abfdf Merge remote-tracking branch 'upstream/master' into fix-non-str-attributes 2022-12-11 21:26:38 -06:00
Sam Schmeink 6166d4eb73 fix: replace fxhash with rustc-hash 2022-12-10 03:56:48 +01:00
Evan Almloff 0c0158f62d Merge branch 'upstream' into fix-non-str-attributes 2022-12-09 16:24:02 -06:00
Evan Almloff 8a1c96a68c fix custom attribute value support 2022-12-09 16:18:37 -06:00
Evan Almloff cbaf36251f cargo fix 2022-12-07 17:24:11 -06:00