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
my last try for find a best practice for implementation some patterns in next js is inverisfy js i implement ioC design principle and add singleton class in inversify container but i want to know whats the best way for handle many patterns in huge project