> weird mental model of putting all logic and templating in one file
That's up to you though. You're welcome to put all your logic in one file and your templating in some other file.
That's up to you though. You're welcome to put all your logic in one file and your templating in some other file.