Code Monkey home page Code Monkey logo

typescript-tutorial's Introduction

  • 这个项目是作为一个TS初学者,通过两个网站:

typescript入门教程:

https://ts.xcatliu.com/

typescript handbook:

https://zhongsp.gitbooks.io/typescript-handbook/content/

学习而来的

  • 其中入门教程中有大量的原文作为笔记,在 'TypeScript入门'文件夹中

  • 另外,根据handbook中的此页:

https://zhongsp.gitbooks.io/typescript-handbook/content/doc/handbook/tutorials/React.html

写了一个带react+redux+typescript的小demo,在过程中发现了很多错误(作为初学者,不知道手书中的例子上到底是不是错误,但是在我的环境下运行不起来),自己也踩了很多坑,在踩过坑的地方也都添加了注释,还做了一些小拓展。 可以对照着上面那页的demo和我的注释进行对比

  • 希望可以给同样为初学者的你一点点提示,算是抛砖引玉了。

  • 克隆项目

git clone https://github.com/dogXgod/TypeScript-Tutorial.git
  • 进入react+redux+ts的demo,ts-project
cd ts-project
  • 下载依赖
yarn
  • 启动项目
yarn start

typescript-tutorial's People

Contributors

xiongguodong1862 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.