Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
0.8.0.tar.gz | 2022-08-28 | 272.7 kB | |
0.8.0.zip | 2022-08-28 | 410.6 kB | |
README.md | 2022-08-28 | 4.5 kB | |
Totals: 3 Items | 687.7 kB | 0 |
Release post: https://sycamore-rs.netlify.app/news/announcing-v0.8.0
-
⚡️ Features
- Reactive Primitives v2 🎉! Read the blog post for more information.
- Suspense and async components.
- Async transitions.
- Type-checked HTML element tags.
- Builder API v2!
- SVG support.
- Implement
AddAssign
and friends forSignal
. - Add
Signal::modify
to mutate signal. - Add
NoHydrate
andNoSsr
utility components. - Add
from_web_sys
function. - Add
prop:
directive toview!
- Add
dangerously_set_inner_html
to the builder API. - Print hydration key for hydration mismatch.
-
New view syntax for components. Unifies the syntax used for setting attributes/props in elements and components.
-
🛠 Fixes
- Call cleanup callbacks in
map_keyed
andmap_indexed
- Create a nested reactive scope if
cx
is used inside dyn expression. - Fix and simplify
SsrNode
andHydrateNode
codegen inview!
. - Fix hydration for top-level dynamic views.
- Fix setting
class
on SVG elements. - Fix parsing of legacy components in child views.
- Fix destructuring in async component props.
- Add the
<body>
tag to the HTML elements list. - Fix
scope_depth
to return0
for root scope. - Fix removing old nodes from parent.
- Remove Unit
()
implementation ofProp
. - Add
Debug
implementations to all public items. - Fix boolean attribute list.
- Allow fragments and dynamic views in
Router
. -
🎁 Examples and Documentation
- Add HTTP request builder example.
-
🚅 Performance
-
Internal
- Make website responsive and mobile-friendly.
- Use in-tree
js-framework-benchmark
implementation for benchmarking. - Split the
sycamore
crate intosycamore-core
andsycamore-web
. - Simplify
reconcile_fragments
implementation. - Update MSRV to 1.63 and remove some
unsafe
s fromsycamore-reactive
.