You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: challenges/ecosystem/03.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,8 @@ export function StarshipCard(props: StarshipCardProps) {
70
70
}
71
71
```
72
72
73
+
### Destructuring pattern
74
+
73
75
And because you are killing it, you can use the **destructuring pattern** like this:
74
76
75
77
```javascript
@@ -96,6 +98,8 @@ export function StarshipCard({
96
98
97
99
**Hint:** Not familiar with destructuring? [have a look at the patterns page](https://davidl.fr/workshop/patterns#destructuring-props).
98
100
101
+
### Do you need some transation?
102
+
99
103
I was like you —when I started using `TypeScript`— feeling lost. You can bookmark the [Typescript cheatsheet](https://github.com/typescript-cheatsheets/react), it will may help you to answer all your questions.
0 commit comments