3 ms·
Closure library/compiler was the only real way to write a large SPA back in 2012+. You had access to an amazing compiler with a standard library that was like
by foobarbazetc 3y ago
Closure library/compiler was the only real way to write a large SPA back in 2012+.
You had access to an amazing compiler with a standard library that was like having every npm module you could ever need but written by Google and well maintained without the security risks.
We still use it, and the only real “wish” we have is maybe if the jsdoc “type system” could just be replaced by TypeScript while maintaining all the rest of the library/compiler.
- klodolph 3y agoYou can write TypeScript and automatically generate Closure type annotations for compiling / minifying, using a tool called tsickle. I am aware this is possible but I have heard that getting a good tooling experience out of this, outside Google, is difficult.