I would like to keep my routers free from logic as much as possible. Have been looking at utils as a way to get there, but don’t see much documentation about them in the guides.
Let’s say, for an article kept in the store, I need to know the next article and the one that came before it. I don’t want to put it in a component, because I may need it in another one. I don’t want to stick it in my router, because eventually it’s going to violate DRY.
If not a util, where is the best place to stick repeatable logic?