This repository was archived by the owner on Mar 9, 2025. It is now read-only.
This repository was archived by the owner on Mar 9, 2025. It is now read-only.
Reason for precompiling #16
Open
Description
Hello,
It says the following in README.md
:
So we've cheated a little bit by using babel-node. While this is great for getting something going. It's not a good idea to use it in production.
We should be precompiling your files, so let's do that now.
I'm curious, why exactly is it not a good idea? Isn't the code getting executed the same? And as servers are generally longer-running then clients, the code doesn't get recompiled so often but only when the app crashes or gets redeployed. I see the advantages of pre-compiling on the client side, but I'm not sure why it's necessary on the server side. Could someone elaborate?
Metadata
Metadata
Assignees
Labels
No labels