3 ms·
You're probably aware of this but that's why you put everything through Babel or Typescript to convert it. That setup is easy enough.
by aaron-lebo 9y ago
You're probably aware of this but that's why you put everything through Babel or Typescript to convert it. That setup is easy enough.
- klipt 9y agoIt's like compiling for older CPUs ... if newer CPUs could execute C++ source code directly.
- trynewideas 9y agoAssuming they read the post, they're not only aware of it but also read the post's author warning their fictional subject about the performance problems of using transpilers in production, and shrugging it off for the example because it's just a learning exercise and "easy to change later".
- troygoode 9y agoThe warning in the content is (correctly) against performing the transpilation in the client; the fix is to run the transpiler on your server, preferably as part of your CI build process.