News for hackers. Stuff that matters.
Re:Maintainability Through Colocation by smadge on Thursday October 17, 2019 @02:00AM (#21279314)
Why not colocate your database queries and business logic inside of your view/template/stylesheet? Just put it all in one file.
Re:Maintainability Through Colocation by yvonnick on Thursday October 17, 2019 @07:37AM (#21280921)
I do it in React using hooks. For example with GraphQL queries.