I found this in the documentation of Antd - Tree component.
The number of treeNodes can be very large, but when enable checkable, it will spend more computing time, so we cached some calculations(e.g. this.treeNodesStates), to avoid double computing.
This note suggests that Tree state is cached. When I add / delete nodes from the Tree, the Tree does not seem to refresh. How should I disable caching or ensure that add / delete of nodes refreshes the tree?
You can add/delete nodes dynamically. See this codepen http://codepen.io/yesmeck/pen/JEjZmj?editors=001