We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd067f commit 9a02eb1Copy full SHA for 9a02eb1
src/InfiniteTree.jsx
@@ -195,6 +195,9 @@ export default class extends Component {
195
this.eventHandlers[key] = this.props[key];
196
this.tree.on(eventName, this.eventHandlers[key]);
197
});
198
+
199
+ //force component to rerender when this.tree is finally initialized
200
+ this.forceUpdate();
201
}
202
componentWillUnmount() {
203
Object.keys(this.eventHandlers).forEach(key => {
0 commit comments