If you we're to build a demo application in Inertia.js where the backend would be the same but the frontend would be Vue, React and Svelt would you have separate codebases or a single codebase and split at the view layer to be Vue/React/Svelt?
Back
•
I'm a fan of monoliths - it is easy to have 3 folders with your Vue/React/Svelte components inside it and then update them all at the same time when it is necessary rather than open 3 different codebases/repositories.
•
That does seem to be the popular opinion, should be the easiest to maintain.
•
In response to @dcblogdev
I prefer the monolith generally. Too. I think if I had my preference, everything related to a module would be all together instead of organizing by types (controllers, models, etc).
•