Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dimitridumont/dependency-inversion-front-end

Example of dependency inversion in front end (with React & Next.js)
https://github.com/dimitridumont/dependency-inversion-front-end

dependency-injection dependency-inversion dependency-inversion-principle nextjs react

Last synced: about 2 months ago
JSON representation

Example of dependency inversion in front end (with React & Next.js)

Awesome Lists containing this project

README

        

# Dependency inversion in front-end with React & Next.js

This example shows how to use dependency inversion in front-end with React & Next.js.
I only use simple object & React Context to demonstrate the concept. If you use Redux, React-Query or other libraries, you can apply the same concept.

![public/img.png](public/img.png)

## Language & Librairies
- [React](https://reactjs.org/)
- [Next.js](https://nextjs.org/) (app directory)
- [TypeScript](https://www.typescriptlang.org/)