3 ms·
I successfully removed it years ago because Typescript replaced everything I was using Babel for, things even build way faster and I even got Intellisense autoc
by wildpeaks 5y ago
I successfully removed it years ago because Typescript replaced everything I was using Babel for, things even build way faster and I even got Intellisense autocompletion and refactoring as bonus.
- nsonha 5y agoI doubt typescript is faster than babel with all the static analysis it does. In fact it's typical for projects to use typescript as a check in CI and actually build with babel, for speed. Fast alternatives to babel are things like esbuild and swc
- wildpeaks 5y agoTypechecks are optional, just use transpile-only mode for the build: it merely removes the type annotations, it's fast. You can have the best of both worlds: Intellisense based on types in the editor yet fast transpile in the build.