반응, ES6-getInitialState가 일반 JavaScript 클래스에 정의되었습니다. 다음과 같은 구성 요소가 있습니다 ( radioOther.jsx) : 'use strict'; //module.exports = { ... }; ... } See more in the React's documentation about ES6 Classes: Converting a Function to a Class Adding to Ross's answer. You could also use the new ES6 arrow function on the onChange property It is functionally equivalent to defining this.onRadChange = this.onRadC..