Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
smadge
· 7y ago · 0 comments
Why not colocate your database queries and business logic inside of your view/template/stylesheet? Just put it all in one file.
Comments
[–]
yvonnick
7y ago
I do it in React using hooks. For example with GraphQL queries.