Import paths tell a story
Import paths tell a story.
Short import paths are a good sign - It tells me related code is colocated. π
Stuff that can often be located near the caller:
Tests
Types
Styles
Hooks
Images
Utilities
Queries
Mutations
Constants
My rule: If itβs unlikely to be reused, I try to store it in the same file/directory as the caller.
