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.
Web-Dev-For-Beginners/7-bank-project/4-state-management/.github/pre-lecture-quiz.md

19 lines
577 B

4 years ago
*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
4 years ago
3. What's the best way to persist critical user data across different sessions?
4 years ago
- [ ] Using files
- [ ] Using the browser's `localStorage` API
- [ ] In a database behind a server API