3 ms·
With esbuild, typed code compiles just as fast as untyped code (esbuild doesn’t typecheck just strips the types) so I don’t buy your last argument. Esbuild give
by christophilus 6y ago
With esbuild, typed code compiles just as fast as untyped code (esbuild doesn’t typecheck just strips the types) so I don’t buy your last argument. Esbuild gives the best of both worlds, imho.
- Aeolun 6y agoThe problem with esbuild is that it doesn’t do hot reload (yet?)
- christophilus 6y agoI don’t like hotreload, so I don’t see it as a problem. I do a full rebuild and my browser auto refreshes and that’s good enough for me. I’ve had hot reload get me into an invalid state too often to find it useful.
- metachris 6y agoFor working on complex webapps that take a bunch of steps to arrive at a certain state, hot reloading can save a ton of time, since you don't have to redo the steps to get there. One of the bigger time-savers for web development, in my opinion.
- giorgioz 6y agoI've never tried esbuild. I've only saw the benchmarks. Frankly everytime they say this new X language/tool manages types fast it turns out not to be true. Deno has native types and then it came out that the actual Deno source code decided to abandon Typescript: https://startfunction.com/deno-will-stop-using-typescript/ https://startfunction.com/deno-will-stop-using-typescript/ https://esbuild.github.io/content-types/#typescript https://esbuild.github.io/content-types/#typescript It seems esbuild has a separate loader for typescript and anyway it only builds but does not type checking: "However, esbuild does not do any type checking so you will still need to run tsc -noEmit in parallel with esbuild to check types. This is not something esbuild does itself."