Skip to content

Instantly share code, notes, and snippets.

@tachang
tachang / ReactControlledInputWithState.jsx
Created December 14, 2017 20:02 — forked from markerikson/ReactControlledInputWithState.jsx
React controlled input with internal state example
class ControlledInputWithInternalState extends Component {
constructor(props) {
super(props);
this.state = {
isValid : true,
value : props.value
};
}