Stanford cs142 course, designed with html, css, js, react, node, express, mongodb and many other techs.
This repo includes project1-7 of cs142, however this course is still using class component(2023 at this time), which has been replaced by function components in the last few years, thus making it no more a great choice for beginners. For anyone who is willing to learn react in 2023, I recommend The Road To React of ROBIN WIERUCH.
I also create a new branch called Improved and add my improved version of cs142 project to it, the folder name is project7_improved, in this version I completely replaced original class component with function component, use it as reference if you'd like to compare the difference between two components.
斯坦福大学的 cs142 课程,采用了 HTML、CSS、JS、React、Node、Express、MongoDB 等多种技术设计。
此仓库包括 cs142 的 project1-7。然而,尽管现在是2023年,这门课程仍然使用类组件,而在过去的几年中,类组件已经被函数组件取代,因此它不再是初学者的最佳选择。对于任何想在2023年学习React的人,我推荐ROBIN WIERUCH的《The Road To React》。
我还创建了一个名为“Improved”的新分支,并在其中添加了我改进的 cs142 项目版本,文件夹的名称是 project7_improved。在这个版本中,我完全用函数组件替换了原始的类组件,如果你想比较两种组件之间的差异,可以参考它。