3 ms·
Elm is working on server side rendering and it will come once it's ready. When it comes to dead code elimination, it is true that the compiler currently does n
by Skinney 10y ago
Elm is working on server side rendering and it will come once it's ready.
When it comes to dead code elimination, it is true that the compiler currently does not have that. Luckily, the compiled js is just a series of functions (namespaces is a part of the function name, like namespace$functionname) and so a tool like uglify has no problem removing dead code. A minified Elm app is smaller than a minified React app.