Closed mindreframer closed 8 years ago
Hi! Thanks for the PR :)
As I'm using the latest React version is not permitted to access the .getDOMNode()
function from the refs...
https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html#dom-node-refs
Instead we can use:
componentDidMount() {
this.refs.name.focus();
}
If you change both I can merge the PR. Thanks again :)
thanks for telling, I missed that one ;) cheers !
Thanks to you! Merging! :+1:
problem:
solution: