Skip to main content

Module lexicon_gate

Module lexicon_gate 

Source
Expand description

Gate component for content that draws exercise words from the lexicon.

On wasm the lexicon arrives via /data/lexicon.json (see crate::generator::ensure_lexicon); this gate holds its children back until the index is pinned so Generator::new() is always safe inside. Native builds resolve instantly, so tests and prerendering render children directly.

Re-exports§

pub use LexiconGate_completions::Component::LexiconGate;

Structs§

LexiconGateProps
Properties for the LexiconGate component.

Functions§

LexiconGate
Props