Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public componentDidMount() {
- this.gridRootNode = ReactDOM.findDOMNode( this.refs.gridRoot );
- this.throttled_updateDimensions = throttle( this.updateDimensions.bind( this ), 100 );
- window.addEventListener( 'resize', this.throttled_updateDimensions );
- this.setState( {
- mounted: true
- } );
- }
Add Comment
Please, Sign In to add comment