You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
577 B
19 lines
577 B
*Complete this quiz in class.*
|
|
|
|
1. 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
|
|
|
|
2. 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
|
|
|
|
3. What's the best way to persist critical user data across different sessions?
|
|
- [ ] Using files
|
|
- [ ] Using the browser's `localStorage` API
|
|
- [ ] In a database behind a server API
|