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: instructions/1-your-first-component.md
+6-3
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,8 @@ export class MyComponent extends Component {
162
162
You can provide some validation for the `props` of a component using `React.PropTypes` to have error message in developement. it's quite useful when you provide components to other dev teams.
Copy file name to clipboardExpand all lines: instructions/4-handle-likes.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,8 @@ export function isWineLiked(id) {
37
37
Now, you have to write a new component to display the `like` button into a `<Wine />` component. The button will be added in the `card-action` section. This component will have the following contract
0 commit comments