Coder Social home page Coder Social logo

react-study's Introduction

react-study

继研究过vue后,第一次真正的学习react。 不外乎其他新知识的学习过程,首先我将react官网啥的看了一遍,然后就看看github上用其做了哪些实例。

突然间电闪雷鸣,让我发现了antdesign,其实这个东西很早就有了,只不过我发现的迟了。刚好有个后台的需求,我便跟着它的文档开始上手了。

一、工欲善其事,必先利其器

但是问题来了,sublime中不认识jsx语法,我在打开原有项目的js文件时,组件中的html连个标签颜色都对不上,极大的影响了我阅读代码的兴趣。正所谓“工欲善其事,必先利其器”,所以我就找到了两个帮手解决了这个问题。

首先安装babel command+shift+p -> install package -> babel 然后 View -> Syntax -> Open all with current extension as... -> Babel -> JavaScript (Babel).

其次安装Sublime-React command+shift+p -> install package -> React

JSX语法高亮显示,推荐使用Babel-Sublime

react-study's People

Contributors

leeyu0329 avatar

Watchers

James Cloos 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.