how can i implement best code structure for handle many design pattern in huge project next js
i want to know about best practice for implement structure design patterns in next js projects
patterns like singleton – chain of responsibility – mediator – command or …
whats the best way for implement these patterns in next js