« first day (1678 days earlier)      last day (2439 days later) » 

03:50
'''
handleSubmit(event) {
event.preventDefault();

// Find the text field via the React ref
const text = ReactDOM.findDOMNode(this.refs.textInput).value.trim();

Tasks.insert({
text,
createdAt: new Date(), // current time
});

// Clear form
ReactDOM.findDOMNode(this.refs.textInput).value = '';
}
'''
1 message moved from JavaScript
 
2 hours later…
05:47
```
  renderForm() {
    this.props.label = "testing";
    return (
      <form className="new-task" onSubmit={this.handleSubmit.bind(this)} >
        <b>{label}</b><br />
        <input
          type="text"
          ref="textInput"
        />
      </form>
    )
  }
```
1 message moved from JavaScript
 
4 hours later…
10:01
2 messages moved from Android Era with Kotlin and Java
10:55
2 messages moved from PHP
 
6 hours later…
17:16
How do I convert this to an es6 arrow function?

nextStep() {
this.setState({
step : this.state.step + 1
})
}
1 message moved from JavaScript
How do I convert this to an es6 arrow function?

nextStep() {
this.setState({
step : this.state.step + 1
})
}
1 message moved from JavaScript
How do I convert this to an es6 arrow function?
`
nextStep() {
this.setState({
step : this.state.step + 1
})
}
`
1 message moved from JavaScript
 
1 hour later…
18:34
I mean what
We should probably undo that one.
3 messages moved from C#

« first day (1678 days earlier)      last day (2439 days later) »