Do We Need To Compile Website Components?
A discussion on the state of component-based rendering and if compilers don't need to be a part of the process.
26 February, 2019
Using components as building blocks for a website is very popular these days because of tools like @angular/cli
, @vue/cli
and create-react-app
but all these tools can only be used from the command-line.
This is acceptable because the syntax these libraries use is not supported in browsers and need to be compiled but what if we could use these building blocks without the need of a compiler.
I personally created a proof-of-concept library that does this and I want to know if such an approach needs to be taken to solve the issues that compilers bring like unreadable minified code, complex build processes, and poor debugging experiences or even if compilers bring issues to begin with.
Really hope to hear from the community.
My proof-of-concept contains some documentation