Lesson 9: add a tip

Daniel Tanaka 2 months ago
parent eeadd2a78a commit 176d90cb0d6342454649568c29d13d37d23e9c7c
1 changed files with 2 additions and 0 deletions
+2-0lessons/09-project-weather-widget/README.md
View File
@@ -10,6 +10,8 @@
1010
1111 > **Tip:** Use `===` unless you have a reason not to.
1212
13+> **Tip:** Optional chaining saves a lot of `if`s: `user?.address?.city`.
14+
1315 ## Run it
1416
1517 ```sh