17 releases
| 0.3.0 | Mar 13, 2025 |
|---|---|
| 0.2.1 | Dec 17, 2024 |
| 0.2.0 | Nov 30, 2024 |
| 0.2.0-beta | Jul 24, 2024 |
#2238 in HTTP server
70,129 downloads per month
Used in 248 crates
(8 directly)
39KB
733 lines
Isomorphic web applications that run on the server to render HTML, then add interactivity in the client, need to accomplish two tasks:
- Send HTML from the server, so that the client can "hydrate" it in the browser by adding event listeners and setting up other interactivity.
- Send data that was loaded on the server to the client, so that the client "hydrates" with the same data with which the server rendered HTML.
This crate helps with the second part of this process. It provides a SharedContext type
that allows you to store data on the server, and then extract the same data in the client.
Dependencies
~0.9–2MB
~38K SLoC