Conclusion

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