Module datastar
Expand description
🚀 Datastar support for rama.
Datastar helps you build reactive web applications with the simplicity of server-side rendering and the power of a full-stack SPA framework.
It’s the combination of a small js library which makes use of SSE among other utilities, this module implements the event data types used from the server-side to send to the client, which makes use of this JS library.
You can join the discord server of 🚀 Datastar at https://discord.gg/sGfFuw9k, after which you can join the #general-rust channel for any datastar specific help.
Combining 🚀 Datastar with 🦙 Rama (ラマ) provides a powerful foundation for your web application—one that empowers you to build and scale without limitations.
Modules§
Structs§
- Event
Data Reader EventDataLineReader
for theEventDataRead
implementation of [RemoveSignals
].- Execute
Script ExecuteScript
executes JavaScript in the browser- Patch
Elements PatchElements
patches HTML elements into the DOM.- Patch
Elements Reader EventDataLineReader
for theEventDataRead
implementation ofPatchElements
.- Patch
Signals PatchSignals
patches signals into the signal store- Patch
Signals Reader EventDataLineReader
for theEventDataRead
implementation ofPatchSignals
.
Enums§
- Element
Patch Mode - The mode in which elements are patched into the DOM.
- Event
Data - Event
Type - The type protocol on top of SSE which allows for core pushed based communication between the server and the client.