TheOdinProject / curriculum

The open curriculum for learning web development
https://www.theodinproject.com/
Other
9.86k stars 13.21k forks source link

Type Checking With PropTypes: Better TypeScript Resources #28294

Closed nikitarevenco closed 3 months ago

nikitarevenco commented 3 months ago

Checks

Describe your suggestion

The current lesson suggests refactoring old components into typescript. This approach is good, but it may not necessarily fully teach learners about typescript. They may miss out on a lot of extremely useful typescript concepts.

Because typescript is only as useful as you can make it, I think it would be better that learners learn as much as possible about typescript and it's features.

Suggestion 1: My recommendation is to recommend the following in that order:

Path

Node / JS

Lesson Url

https://www.theodinproject.com/lessons/node-path-react-new-type-checking-with-proptypes

(Optional) Discord Name

No response

(Optional) Additional Comments

No response

MaoShizhong commented 3 months ago

Thanks for this issue @nikitarevenco.

That bit of the lesson isn't encouraging people to go and learn TS now. All it's saying is that if in the future, someone wished to explore TS, refactoring past JS projects is a great way. They're on their own otherwise to explore that.

We don't want to provide the proposed resources, at that changes the content's intent to imply that we're encouraging people to do this during the curriculum, and that's not our intent at all. Therefore, it's not the lesson's responsibility to provide resources for that. Hope that makes sense.