It's more to do with larger teams. Frameworks should make it easier for multiple people to work on a codebase. As well as allowing much larger apps with less complexity.
Yes but why do they have to be compiled? For what's worth jQuery is a framework and so is Vue without compiling.
Usually because they have their own way of defining things that isn't standard JS.
For instance Vue can be compiled if you want to make full SPAs using it.
You can build SPAs without compilation...
Community for all things Web Development related.
It's more to do with larger teams. Frameworks should make it easier for multiple people to work on a codebase. As well as allowing much larger apps with less complexity.
Yes but why do they have to be compiled? For what's worth jQuery is a framework and so is Vue without compiling.
Usually because they have their own way of defining things that isn't standard JS.
For instance Vue can be compiled if you want to make full SPAs using it.
You can build SPAs without compilation...