DEV Community

Discussion on: Clean Architecture on Frontend

Collapse
 
bespoyasov profile image
Alex Bespoyasov

Adapters are needed to connect 3rd-party services to the app in a decoupled way.

Redux solves the problem with decoupling components, but it won’t help to connect server fetching API or reading from localStorage.

In fact, it even needs its own adapter to avoid using Redux’s injector-hooks everywhere in the app since it itself is a 3rd-party module.