DEV Community

Discussion on: Clean Architecture on Frontend

Collapse
 
happylittleone profile image
littleone

as a principle of DDD, only the domain layer can have state, am I wrong? your domain layer are just pure functions, so how did you think about this ?

Collapse
 
bespoyasov profile image
Alex Bespoyasov

Not necessarily.

The “Domain Modeling Made Functional” book can be a good example of functional approach to DDD.