Nearly a year ago I wrote an article about dependency injection in React. I showed how to inject dependencies into class components from InversifyJS containers. Since then we’ve witnessed the release of one of the most anticipated React features — Hooks.
[…]
To accomplish this task, we will mainly use two React functionalities — Context API (since v.16.3) and React Hooks (since v.16.8).
[…]