Course Issues
Opened this issue · 5 comments
If you find any issues with the course, leave a comment here. I'll mark the comment as resolved once the issue is fixed.
In "Quiz) Function Components" - https://platform.ui.dev/courses/1245232/lectures/27765238
The first question has answer React.Element. I believe it should be ReactElement without the dot.
Typo in "(Bonus) Intrinsic Elements" - https://platform.ui.dev/courses/1245232/lectures/27765251
There's 2 'to': "React is using to to say"
In "(Bonus) PropTypes" - https://platform.ui.dev/courses/1245232/lectures/27765278
The video does:
fruitType: PropTypes.oneOf(["apple", "orange", "banana"] as const).isRequired,
fruit: PropTypes.arrayOf(PropTypes.string).isRequired
addFruit: PropTypes.func.isRequired,
But the text has:
fruitType: PropTypes.oneOf(["apple", "orange", "banana"]).isRequired,
fruit: PropTypes.arrayOf(PropTypes.string)
addFruit: PropTypes.func,
In "(Project) Popular" - https://platform.ui.dev/courses/1245232/lectures/27765322
The link to the GitHub Commit is wrong - it currently points to the same lecture URL.
Should be https://github.com/uidotdev/react-with-typescript-course/commit/e63907665f7992b9fae21aeedaf8945bde6ac93a
Class lesson - might want to switch the math operators :)
increment = () => {
this.setState(({ count }) => ({
count: count - 1,
}));
};
decrement = () => {
this.setState(({ count }) => ({
count: count + 1,
}));
};