This is a conversation on the DI pattern in ReactJS.
This article from the folks at 8th Light is great. The author explains how it makes component very easy to test. It encourages unit testing rather than integration testing.
In essence:
It also allows for substitution of a dependency with a mock, or fake, during testing.