3 ms·
You can inject stuff using props. DI is not unknown concept in react, note that angular1.x do not have true dependency injection. React decouple data and view.
by Chyzwar 10y ago
You can inject stuff using props. DI is not unknown concept in react, note that angular1.x do not have true dependency injection.
React decouple data and view. You can achieve similar behaviour but using flux/redux to publish/subscribe.