Conclusion

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In this lesson, you learned how to track state changes by storing the state in an observable value holder like MutableState. You also learned to preserve the state across recompositions using the remember composable function. This way, the UI (cookies) can be efficiently updated based on the latest state (fresh and leftover ingredients).

See forum comments
Download course materials from Github
Previous: Demo Next: Quiz: Remember State Variables