Complete this quiz in class.
- What is an immutable object?
- An object defined as a constant
- An object that cannot be modified after it's created
- A copy of an existing object
- What benefit(s) you get from using state management?
- You can keep track of every place the state is updated
- It's easier to debug the code
- All of the above
- What's the best way to persist critical user data across different sessions?
- Using files
- Using the browser's
localStorageAPI - In a database behind a server API