view raw app.js hosted with ❤ by GitHub. The onClick prop, in the example above, is being passed as an inline function that calls this.setState.
確定! 回上一頁