Lesson 7: add a tip

Daniel Tanaka 6 months ago
parent 5074f547ab commit 634122a216ea0bf9cb5730c92e7396b821b16f89
1 changed files with 2 additions and 0 deletions
+2-0lessons/07-fetch-and-promises/README.md
@@ -8,6 +8,8 @@
88
99 - `fetch.js`: fetch with then() and error handling
1010
11+> **Tip:** Optional chaining saves a lot of `if`s: `user?.address?.city`.
12+
1113 ## Run it
1214
1315 ```sh