I have a tree configured with very basic properties

PHP Code:
import React, { Component from 'react';import Tree from '@extjs/ext-react';import data from './data';export default class TreeExample extends Component {    store Ext.create('Ext.data.TreeStore', {        rootVisibletrue,        rootdata    })    render() {        return (            <Tree store={this.storeshadow/>        )    }} 
On react re-render, I need to set the selected nodes of the tree, my instinct was to attempt something like so:
PHP Code:
<Tree store={this.storeselected={this.props.selectionshadow/> 
But this does not work, I get error;
ext.js?7e17a60…:51875 Uncaught TypeError: Cannot read property 'get' of null
at constructor.isSelected (ext.js?7e17a60…:51875)
at constructor.isRowSelected (ext.js?7e17a60…:52209)

Is setting selected nodes supported in Tree component in extreact? If so, please kindly enlighten me, I can't seem to work it out