React

React學習手冊-Github

react-signup-form

https://github.com/mikepro4/react-signup-form Demo http://codepen.io/mikepro4/full/pvKYZG/

  1. npm install
  2. npm start – will create /build directory
  3. Go to /build directory and type python -m SimpleHTTPServer
  4. Go to localhost:8000
// This gets linted
var answer = 6 * 7;
console.log(answer);
// This also gets linted

/* eslint quotes: [2, "double"] */

function hello() {
    console.log("Hello, world!");
}
hello();
// This gets linted too
var div = <div className="jsx"></div>;
// And this
console.log(process.version);
This is plain text and doesn't get linted.

results matching ""

    No results matching ""