The question is how do I test this new component App
?
Redux
or not, I don’t think this is problematic, couple of years later, this name will be gone. However props
wired with App
is essential, this is the door to treat it as testable function.
To me, global state management bypassing props
is just defeating the entire purpose of using react
.
Just my 2 cents.