Commit graph

658 commits

Author SHA1 Message Date
Greg Johnston
81e416b085
fix: error messages in dyn_classes (#1270) 2023-07-03 09:57:50 -04:00
Greg Johnston
0f1ebccad5
fix: clearing <For/> that has a previous sibling in release mode (fixes #1258) (#1267) 2023-07-02 17:27:39 -04:00
Greg Johnston
2f01df6185
fix: HtmlElement::dyn_classes() when adding classes (#1265) 2023-07-02 17:27:24 -04:00
martin frances
c4982319fe
chore: ran cargo clippy --fix and reviewed changes. (#1259) 2023-07-02 17:27:14 -04:00
Greg Johnston
67300adf41
fix: regression in ability to use signals directly in the view in stable (#1254) 2023-06-30 11:59:29 -04:00
Greg Johnston
ee7dbafc85
change: migrate to nightly and csr features rather than stable and default-features = false (#1227) 2023-06-26 21:12:14 -04:00
Greg Johnston
966100c2d6
feat: add an anyhow-like Result type for easier error handling (#1228) 2023-06-25 15:18:00 -04:00
Greg Johnston
9da4084561
fix: nested Suspense/Transition with cascading resources (#1214) 2023-06-21 16:39:58 -04:00
jquesada2016
1d7235d4ca
fix: in <For/>, removed not being cleared when setting a diff to clear, causing panic (#1220) 2023-06-21 15:19:12 -04:00
Greg Johnston
2cb8171105
docs: document <ErrorBoundary/>/<Suspense/> relationship (#1210) 2023-06-21 11:17:20 -04:00
Greg Johnston
8ae5cf0ccf
fix: don't re-mount identical child in DynChild (#1211) 2023-06-19 17:04:08 -04:00
jquesada2016
5f0013e482
fix: reorder <For /> apply_diff steps (#1196) 2023-06-15 20:37:17 -04:00
jquesada2016
97127a90c6
fix: new <For/> bug when clearing which ignores further additions (#1181) 2023-06-14 13:56:56 -04:00
Greg Johnston
a98885a123
fix: <ErrorBoundary/> IDs with new hydration key system (#1180) 2023-06-13 18:38:23 -04:00
jquesada2016
f415f7b146
fix: removes in new <For/> causing panics in some circumstances (#1173) 2023-06-13 15:43:02 -04:00
jquesada2016
b6d9060152
feat: improved <For/> algorithm (#1146)
Rewrites the algorithm behind the `<For/>` component to create a more robust keyed list implementation, with the potential for future additional optimizations related to grouping moved ranges.

Closes #533.
2023-06-11 10:20:14 -04:00
Greg Johnston
55266f2efd
perf: reduce overhead of hydration keys (#1122) 2023-05-31 20:30:31 -04:00
Greg Johnston
5d70275c3a
fix: dispose of runtime when stream is actually finished (closes #1097) (#1110) 2023-05-28 13:44:31 -04:00
Marc-Stefan Cassola
475566837e
feat: added scrollend event (#1105) 2023-05-27 11:04:30 -04:00
Greg Johnston
7ff08615bb
fix: remove debug logs accidentally included 2023-05-27 06:08:08 -04:00
Greg Johnston
2d418dae93
fix: debug-mode bugs in <For/> (closes #955, #1075, #1076) (#1078) 2023-05-22 06:49:13 -04:00
Greg Johnston
a9ed8461d1
feat: add "async routing" feature (#1055)
* add "async routing" feature that waits for async resources to resolve before navigating
* add support for Outlet
* add `<RoutingProgress/>` component
2023-05-21 06:46:23 -04:00
Greg Johnston
2cbf3581c5
fix: docs note on style refers to class (#1066) 2023-05-19 13:42:16 -04:00
Greg Johnston
00fcd1c65e
docs: fix small docs issues (closes #1045) (#1049) 2023-05-16 13:01:29 -04:00
Greg Johnston
85ad7b0f38
fix: <Suspense/> hydration when no resources are read under it (#1046) 2023-05-16 12:20:23 -04:00
Greg Johnston
40c1556f29
change: remove APIs that had been marked deprecated (#1037) 2023-05-12 19:45:48 -04:00
Greg Johnston
d7b919032e
feat: SsrMode::PartiallyBlocked (#1026) 2023-05-10 13:30:01 -04:00
Greg Johnston
1fdb6f1cdf
feat: add style: to view (#1009) 2023-05-06 06:23:20 -04:00
Greg Johnston
59b8626277
docs: switch from compile errors to runtime warnings for incompatible feature flags (#990) 2023-05-03 16:25:35 -04:00
Greg Johnston
1af35cdd3b
feat: add builder syntax for optional event listener (#969) 2023-05-02 15:47:19 -04:00
Roland Fredenhagen
1011c464dc
feat: add collect_view(cx) (#956) 2023-04-28 16:02:24 -04:00
Roland Fredenhagen
fa2e2248d3
feat: impl FromIterator for View (#945) 2023-04-24 20:07:27 -04:00
Ben Wishovich
81f330e888
feat: add thorough tracing throughout (#908) 2023-04-22 06:47:11 -04:00
Greg Johnston
f3b8d27c4f
change: add window_event_listener_untyped and deprecate window_event_listener pending 0.3.0 (#913) 2023-04-21 14:14:35 -04:00
Greg Johnston
d3a577c365 cargo fmt 2023-04-21 12:45:08 -04:00
Greg Johnston
b80f9e3871
fix: issue with ordering of class attribute and class=("fancy-name-200", true) (closes #907) (#914) 2023-04-21 12:42:35 -04:00
Logan B. Nielsen
d3d2cbed7e
feat: add typed window event listeners (#910) 2023-04-21 11:43:11 -04:00
Daniel Santana
7a5a776cb9
feat: get_untracked for node_ref. (#902) 2023-04-19 20:09:54 -04:00
Greg Johnston
6b825fec37
fix: erroneous non-reactive access warning in undelegated events (#900) 2023-04-19 20:09:05 -04:00
HJin.me
9524c6e289
fix: <For/> rendering error in SSR InOrder/Async Mode (#879) 2023-04-17 10:48:07 -04:00
Greg Johnston
683511f311 clippy 2023-04-11 14:37:54 -04:00
Greg Johnston
f969fd7eff
fix: don't entity-encode HTML special characters inside <script> or <style> (closes #837) (#846) 2023-04-10 13:15:15 -04:00
novacrazy
3c3d3b33f1 Remove unnecessary into 2023-04-07 17:41:27 -05:00
novacrazy
2c2090a194 Return Cow from as_value_string 2023-04-07 05:09:49 -05:00
novacrazy
de9b2998ac More inlining 2023-04-07 05:09:24 -05:00
novacrazy
29b81a3d50 Another round of inlining 2023-04-07 01:44:18 -05:00
novacrazy
5bc0d89ce7 Cleanup Comment::new 2023-04-07 00:52:35 -05:00
novacrazy
342b10c232 Use Cow for ErrorKey 2023-04-07 00:52:23 -05:00
novacrazy
ba9d3c1602 Another round of inlining 2023-04-07 00:52:11 -05:00
novacrazy
de06c9b2ca Fix Box<dyn> casts 2023-04-06 21:52:25 -05:00