Loading…
A short voice session: one question, one follow-up, then instant feedback — up to 5 minutes.
remember retains a value while its composition identity remains alive. rememberSaveable can additionally restore supported small values through saved-state mechanisms.
Neither mechanism is a durable database. Changing identity or keys can reset remembered values, and saved state has type and size constraints. Keep business data in an appropriate owner or persistent store and save lightweight inputs needed to rebuild the screen. Use observable state when changes must trigger rendering.