React mocking with the Repository
One of the biggest advantages of Object Oriented Programming (OOP) is the ability to use Dependency Inversion. Meaning we get to depend on an abstract set of rules rather than a concrete implementation of those rules. Using TypeScript, we can define an interface, with all the rules we want our objects to satisfy: We use […]
Read it now