How is it nice that you have almost 30MB of code for something that prints "Hello World"?
EDIT: For what it's worth, I don't fault Svelte for this necessarily. This is indicative of NPM bloat which is becoming rampant in my opinion.
How is it nice that you have almost 30MB of code for something that prints "Hello World"?
EDIT: For what it's worth, I don't fault Svelte for this necessarily. This is indicative of NPM bloat which is becoming rampant in my opinion.
"Another nice thing: the node_modules folder for this Hello World Svelte app totals only 29MB and 242 packages. Compare that to 204MB and 1017 packages for a fresh Create React App project."
<!DOCTYPE html>
<html lang="en">
<head>
<title>Test</title>
</head>
<body>
<div id="howdy"></div>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', () => document.getElementById('howdy').innerHTML = 'Hello world!')
</script>
</body>
</html> <title>Test</title>
<div id="howdy"></div>
<script>
document.addEventListener('DOMContentLoaded',
() => document.getElementById('howdy').innerHTML = 'Hello world!'
)
</script>
Edit: formattingI am actually laughing here at this comment. 30 bloody meg.
Never mind ageism in tech, this sort of thing will give me a heart attack before I'm halfway through my career. :D
I can drive a Hummer H3 the block away to the 7-11 but wouldn't it be better if I at least try to ride my bike up there whenever possible?