http://eslint.org/docs/developer-guide/working-with-custom-formatters#the-message-object
{
"parserOptions": {
"ecmaVersion": 6,
http://eslint.org/docs/developer-guide/working-with-custom-formatters#the-message-object
{
"parserOptions": {
"ecmaVersion": 6,
https://medium.com/@ericclemmons/react-event-preventdefault-78c28c950e46
https://facebook.github.io/react/docs/events.html
event.preventDefault();
// Let's stop this event.
https://stackoverflow.com/questions/36651583/dynamically-add-child-components-in-react
var App = require('./App.js');
var SampleComponent = require('./SampleComponent.js');
ReactDOM.render(
将设置放入此文件中以覆盖默认设置
showState(); | |
// output: Ready | |
console.log("function declaration"); | |
function showState() { | |
console.log("Ready"); | |
} | |
console.log("function expression"); |