Stop using componentWillUpdate in TreeView. (PR #3516)
Stop using componentWillUpdate in TreeView. (PR #3516)

Replace it with memoization instead.
This addresses the TreeView part of issue #1006.
mstange/cleopatra,mstange/cleopatra