[Open Source recommendation] Facebook's Open source JavaScript library: React "lightweight app development"

Source: Internet
Author: User
Tags xml attribute

React is Facebook's open source JavaScript library for building the UI. You can pass multiple types of parameters in the react, such as declarative code, to help you render the UI, a static HTML DOM element, or to pass a dynamic variable, or even an interactive application component. (Text from JS developer Weibo)


Features:

Declarative design: React using declarative paradigms, you can easily describe your application efficiently: Reeact the DOM by simulating performance, minimizing interaction with the DOM. Flexibility: React can work well with libraries or frameworks you know.

Sample

A simple component

The following code will present the "Hello John" in the page container:

[XML] view plain copy/** @jsx react.dom */var hellomessage = React.createclass ({render:function () {     Return <div>{' Hello ' + this.props.name}</div>;    }});   React.rendercomponent (

For more examples and tutorials, you can visit the official website tutorial: http://facebook.github.io/react/docs/tutorial.html

Official homepage: http://facebook.github.io/react/index.html

Download Address: http://facebook.github.io/react/downloads.html

GitHub Address: Https://github.com/facebook/react

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.