Cargo Features

leptos_reactive has no features set by default.

[dependencies]
leptos_reactive = { version = "0.7.0-preview2", features = ["csr", "hydrate", "ssr", "serde", "serde-lite", "miniserde", "rkyv", "experimental-islands", "spin"] }
csr

Enables js-sys, wasm-bindgen, wasm-bindgen-futures, and web-sys

Affects runtime::RuntimeId

hydrate

Enables js-sys, wasm-bindgen, wasm-bindgen-futures, and web-sys

Affects hydration::SharedContext.islands, runtime::RuntimeId

ssr spin?

Enables tokio

nightly serde
serde-lite

Enables serde-lite

miniserde

Enables miniserde

rkyv

Enables bytecheck ^0.7 and rkyv ^0.7.39

experimental-islands

Affects hydration::SharedContext.no_hydrate, hydration::SharedContext.islands

spin = ssr

Enables spin-sdk ^2