Evan Almloff
219c068283
Merge branch 'master' into events-2
2023-09-17 20:01:21 -05:00
Evan Almloff
c55c17cb81
switch to tracing for logging
2023-09-06 17:47:33 -05:00
Evan Almloff
bd38cddc9f
fix dioxus core event tests
2023-09-04 19:17:43 -05:00
Evan Almloff
f91eeccca7
add compile test for unsound case
2023-08-09 10:49:47 -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
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
f0128a3150
implement suspense using simpler approach
2023-07-14 17:12:07 -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
Evan Almloff
5f873511c5
use workspace dependancies
2023-06-19 14:29:11 -05:00
Jonathan Kelley
b6463e4b27
bump core
2023-05-04 12:04:21 -07:00
Jonathan Kelley
33397b290d
bump core
2023-02-16 12:13:27 -08:00
Jonathan Kelley
6fde323112
bump core version
2023-01-27 23:27:28 -08:00
Jonathan Kelley
b5c7d5cfd9
chore: use 0.2 of bumpslab
2023-01-23 11:45:18 -08:00
Evan Almloff
a0441f686c
use main bumpslab branch
2023-01-23 12:48:00 -06:00
Evan Almloff
bdb63d18f3
try a different branch
2023-01-23 08:25:08 -06:00
Evan Almloff
c5f003e41e
use git version of bump slab
2023-01-22 21:07:54 -06:00
Evan Almloff
ae028d82f8
use bump slab
2023-01-22 17:16:34 -06:00
Evan Almloff
75932a43e0
Merge branch 'upstream' into add-fuzzing-to-core
2023-01-12 15:17:20 -06:00
Evan Almloff
52d5c8d4e7
update READMEs and tags for the 0.3 release
2023-01-10 10:16:11 -06:00
Evan Almloff
42baadf65d
add fuzzing test to dioxus-core
2023-01-05 10:28:07 -06:00
Jonathan Kelley
7f01f61138
feat: publish 0.3 versions of many crates
2023-01-04 14:31:07 -05:00
Evan Almloff
51dba50c04
use BumpBox<Any> and FromAnyValue instead of sync bounds
2023-01-02 14:40:25 -06:00
Evan Almloff
5b1d9c5c8d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-30 11:52:55 -06:00
Jonathan Kelley
bd720e2268
fix: use futuresunordered instead of bespoke waker system
2022-12-29 19:53:43 -05:00
Evan Almloff
afd024bcb6
Merge branch 'upstream' into fix-non-str-attributes
2022-12-23 15:53:39 -06:00
Jonathan Kelley
d3be971f4e
chore: rollback to option instead of anyhow
2022-12-19 18:06:13 -08:00
Jonathan Kelley
7a4b0d7c2d
fix: use stack optimization for replacer
2022-12-19 11:14:01 -08:00
Jonathan Kelley
cc7736302a
Merge branch 'master' into fix-non-str-attributes
2022-12-17 01:51:13 -08:00
Jonathan Kelley
5c20e651da
fix: get rollover working
2022-12-13 14:44:47 -08:00
=
53b436c684
remove AnyValueBounds and add some docs
2022-12-11 21:40:40 -06:00
=
73ec4abfdf
Merge remote-tracking branch 'upstream/master' into fix-non-str-attributes
2022-12-11 21:26:38 -06:00
=
74e9d5977a
add sync behind a feature flag
2022-12-11 17:31:15 -06:00
Sam Schmeink
6166d4eb73
fix: replace fxhash with rustc-hash
2022-12-10 03:56:48 +01:00
Evan Almloff
6102902387
work on optimizing web implementation
2022-12-06 14:24:35 -06:00
Jonathan Kelley
16a521a601
chore: update docs
2022-11-30 10:31:44 -05:00
Jonathan Kelley
7c3d308ab5
chore: make warnings go away
2022-11-29 16:31:04 -05:00
Jonathan Kelley
0e5a59f9ed
wip: error boundary
2022-11-22 18:38:27 -08:00
Jonathan Kelley
112c954e00
Merge branch 'master' into jk/templates-v3
2022-11-22 16:11:12 -08:00
David Craven
99dafdb8ee
Build failure on master. ( #627 )
...
* Build failure on master.
* Fix ci failure.
* Fix test.
* Ignore broken tests.
* Fix doctests.
2022-11-22 09:56:15 -08:00
Demonthos
f21c8423eb
optimizations for wasm size ( #582 )
...
* optimize for size
* fix tests
* revert log feature
* make backtrace not optional
* remove dev feature from web dev-deps
2022-11-16 22:22:13 -08:00
Jonathan Kelley
f5bc137f01
chore: clean up scheduler code
2022-11-09 10:58:11 -08:00
Jonathan Kelley
a38fc9e4ab
feat: suspense!
2022-11-06 01:48:34 -07:00
Jonathan Kelley
22d4bf7346
feat: use walking pattern
2022-10-26 18:04:47 -07:00
Jonathan Kelley
90982e0ccb
wip: start to refactor out hot reloading from packages
...
Also implement alternative simpler template system
2022-10-20 09:56:09 -07:00
saicu
e8c48d46cf
replace fxhash crate with rustc-hash ( #588 )
2022-10-12 18:27:26 -07:00
Demonthos
928b5358b2
allow arbitrary attribute value in owned attribute value ( #574 )
2022-10-02 14:13:06 -07:00
Demonthos
047ed1e553
Subtree memorization / reactive templates ( #488 )
...
This commit adds subtree memoization to Dioxus.
Subtree memoization is basically a compile-time step that drastically
reduces the amount of work the diffing engine needs to do at runtime by
extracting non-changing nodes out into a static "template." Templates
are then understood by the various renderers in the ecosystem as a
faster way of rendering the same items.
For example, in the web, templates are simply a set of DOM Nodes created
once and then cloned later. This is the same pattern frameworks like Lithtml
and SolidJS use to achieve near-perfect performance.
Subtree memoization adds an additional level of complexity to Dioxus. The RSX
macro needs to be much smarter to identify changing/nonchanging nodes and
generate a mapping between the Template and its runtime counterparts.
This commit represents a working starter point for this work, adding support
for templates for the web, desktop, liveview, ssr, and native-core renderers.
In the future we will try to shrink code generation, generally improve
performance, and simplify our implementation.
2022-09-30 12:03:06 -07:00