Re:Unit testing React components without a DOM
by guscost on Monday June 15, 2015 @01:05PM
(#9720606)
Ah, OK, thanks. Although all my components below the top level receive everything as props rather than referencing the application state directly, I do have cases where some props may or may not be used depending on whether some UI is visible. I've thought maybe it means I should break up those components into sub-components but your suggestion might be a good alternative.
[ Parent
| on HN ]
There are no comments on this comment yet.