Rusty tools for developing reative structures.
Sweet builds upon Astro's principle of creating interoperability between various reactive libraries, and extends that capability with support for multiple renderers and authoring flavours.
Planned Authoring Flavours
- Vanilla Rust
WebNode
- Reactive html
rsx!
- Reactive bevy scenes
bsn!
Reactive frameworks
- Leptos Signals
- Headless Bevy
Planned Renderers
- html
- bevy graphics
- esp32 robotics
- agentic ai
- behavior trees
The preprocessor
Sweet has a preprocessor that enables instant reloads for non-code changes inrsx!
macros.
Features
- ๐ฅSmokin hot reloadinstant reloads for non-code changes
- ๐Stay Hydratedsweet collects pre-hydration events and plays them back in order, no missed events!
- Scoped CSSwith component
<style/>
tags - ๐Great signal here!sweet provides integrations with leptos.
- ๐ฆRusty to the corecomponents are described asregular structs and traits.
- ๐งชA full ecosystemsweet has a built-in component library and testing framework, as well as integrations with axum, leptos and bevy.