Commit Graph
868 Commits
Author SHA1 Message Date
Evan Almloff 2d5a4f82bf Fix the context API in lists 2023-08-13 08:47:27 -05:00
ealmloff 39ab39ac56 Merge branch 'DioxusLabs:master' into signals 2023-08-10 16:31:00 -05:00
Evan Almloff 80ac1a99af fix miri 2023-08-09 14:20:46 -07:00
Evan Almloff f91eeccca7 add compile test for unsound case 2023-08-09 10:49:47 -07:00
Evan Almloff b4983706ac fix variance on components 2023-08-09 10:26:59 -07: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 69dab86873 add selector example to readme 2023-08-08 13:27:45 -07:00
Evan Almloff ba7a663eb6 fix some ownership issues 2023-08-08 13:18:15 -07:00
Evan Almloff 292b3367dd create some more compelling examples 2023-08-07 18:20:03 -07:00
Evan Almloff 0c17bdb737 don't subscribe in tasks or event handlers 2023-08-07 17:55:29 -07:00
Evan Almloff 6ca170453b handle virtual dom switching 2023-08-07 14:59:58 -07:00
Evan Almloff ddbe913e79 make signals non-breaking 2023-08-07 14:50:36 -07:00
Evan Almloff b0d499036a make future handling functions global 2023-08-07 11:16:22 -07:00
Evan Almloff dce418140a create a way to hoist ownership to a different scope 2023-08-04 17:50:05 -07:00
Evan Almloff b3fbbba711 fix signals in futures 2023-08-04 17:25:40 -07:00
Evan Almloff a6f611eccf fix subscriptions in events 2023-08-04 17:23:57 -07:00
Evan Almloff 0032f7e2af fix miri 2023-08-04 15:23:09 -07:00
Evan Almloff 0be5dbe715 fix the context API 2023-08-04 14:42:19 -07:00
Evan Almloff 998f9e0d00 remove static bound from props 2023-08-04 14:24:49 -07:00
Evan Almloff a2c7b69a1d set the scope stack correctly 2023-08-04 14:19:59 -07:00
Evan Almloff b09e528aaa fix recursive runtime drop impl 2023-08-04 14:14:56 -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 39e89c1fac Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
Jonathan Kelley f80c3c9ffb Bump core and interpreter 2023-07-31 18:02:23 -07:00
Evan Almloff 20296b5038 fix some examples that used the private API 2023-07-26 16:50:04 -07:00
Evan Almloff 2d51a1c4f2 make more of core private 2023-07-26 16:17:48 -07:00
Evan Almloff c19420cb29 fix root component suspense 2023-07-25 12:51:12 -07:00
ealmloff a43f334141 use component name instead of props name 2023-07-21 16:30:14 -05:00
Evan Almloff 66fc7974b0 Log errors when a component fails to render 2023-07-21 10:43:22 -07:00
Andrea Frigido dccad58f1d Update license field following SPDX 2.1 license expression standard 2023-07-20 18:00:07 +01:00
Jonathan Kelley 4240f8428c Fix: dont use bumpslab anymore, just box scopestates 2023-07-19 18:40:43 -07:00
Jonathan Kelley 163fe68f45 Remove a bit more unsafe 2023-07-19 12:26:32 -07:00
Jonathan Kelley 2871c8bb4d Don't use boxed cell slice, use a refcell instead 2023-07-19 12:08:13 -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 68253b49d7 cargo fmt 2023-07-14 17:46:14 -07:00
Jonathan Kelley cc984fae54 Only check suspense if the component aborted rendering 2023-07-14 17:45:48 -07:00
Jonathan Kelley 0f5605b3db Apply clippy fixes 2023-07-14 17:13:49 -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 17f2de81d6 Remove indexmap from core 2023-07-12 14:22:47 -07:00
Marc Espín 32d4472bfd fix: Remove duplicated doc links and improved some descriptions (#1167) 2023-07-08 11:04:27 -05: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
Jonathan Kelley 10a3b228f6 Add some logging and debug 2023-07-05 15:19:26 -07:00