Closed simonsmith closed 8 years ago
If I have an element with multiple classNames it seems I have to pass all of them to subTree for it to match:
subTree
React.DOM.div({className: 'Test Component'});
// This doesn't match (would expect it to) tree.subTree('.Test'); // This does, but quite verbose tree.subTree('.Test.Component');
This should be working, there were some changes made to className handling this morning - can you confirm that this is still broken on 0.13.2 ?
0.13.2
Ah I missed that release, sorry. Yeah it works fine! Cheers
If I have an element with multiple classNames it seems I have to pass all of them to
subTree
for it to match: