Sending Update to GitHub Part 2.
What happens if there's no network connection? It should reset itself. But it doesn't. Henrik tries to debug it.
Audience questions...
Henrik uses
const label = this.props.label
but two line later he does label.editing = false
He clarifies that
const label
is a pointer, so we cannot change to what object it points to, but we can mutate the variable it points to. Const
says that you won't change the reference to that variable.