3 ms·
Separation of concerns is about both the structure of a piece of code (which is what you refer to) and about how it is organized in files, folders and mentally
by stdbrouw 9y ago
Separation of concerns is about both the structure of a piece of code (which is what you refer to) and about how it is organized in files, folders and mentally (which is what others refer to).
- bauerd 9y agoAs I said, you're free to do this to yourself. Put every function that calls `React.createElement` in a separate file/directory and import it.