Use predictable file structure

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the collaboration category.

Last Updated: 2024-11-23

If your import statements are always at the top, then constant includes, then lifecycle methods, this makes it easier to notice changes by your team-mates (or see duplication). Whatsmore, git conflicts should be reduced, compared to a strategy that puts everything on the last line, thereby causing competition in git for this space.