Closed gwu closed 7 years ago
ReactDOM.findDOMNode() is discouraged, so we use refs instead (https://facebook.github.io/react/docs/react-dom.html#finddomnode). This allows us to use this in our server-side render correctly.
Really neat solution, thanks @gwu
ReactDOM.findDOMNode() is discouraged, so we use refs instead (https://facebook.github.io/react/docs/react-dom.html#finddomnode). This allows us to use this in our server-side render correctly.