Client-side cache of user settings, fetched once at the App level and
passed down to all routes that render posts.
These settings are authoritative in the Rust/WASM layer (MetaPostManager).
This cache avoids repeated WASM round-trips during rendering. The cache is
always populated synchronously: the initial values are pre-fetched at
top-level bootstrap (before React mounts) and passed in as initial. When
the user logs in/out, the parent fetches fresh settings before swapping
them in via replace(). When settings change in the config tab, callers
invalidate() which re-fetches and updates state. There is never a "still
loading" state visible during render.
Client-side cache of user settings, fetched once at the App level and passed down to all routes that render posts.
These settings are authoritative in the Rust/WASM layer (MetaPostManager). This cache avoids repeated WASM round-trips during rendering. The cache is always populated synchronously: the initial values are pre-fetched at top-level bootstrap (before React mounts) and passed in as
initial. When the user logs in/out, the parent fetches fresh settings before swapping them in viareplace(). When settings change in the config tab, callersinvalidate()which re-fetches and updates state. There is never a "still loading" state visible during render.