You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the public folder, for every version bump, a new JS file is added, increasing the overall size of the package. At the time-being, the size is relatively small, at ~1MB, but sooner or later, this would increase exponentially.
This could be dealt with CDN providers like jsdelivr, unpkg, cdnjs, etc, right?
Use of let instead of const:
In a few places, to save a few characters worth of spaces that would be introduced by const by favoring let, wouldn't it be harmful if by accident, a variable that was not supposed to be over-ridden was accidentally done?
In the public folder, for every version bump, a new JS file is added, increasing the overall size of the package. At the time-being, the size is relatively small, at ~1MB, but sooner or later, this would increase exponentially.
This could be dealt with CDN providers like jsdelivr, unpkg, cdnjs, etc, right?
public directory is not part of the npm.
In a few places, to save a few characters worth of spaces that would be introduced by const by favoring let, wouldn't it be harmful if by accident, a variable that was not supposed to be over-ridden was accidentally done?
const might help catch a small set of coding bugs, but in VanJS 500+ browser-based test cases are what give us the most of the confidence on reliability.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
public
:In the public folder, for every version bump, a new JS file is added, increasing the overall size of the package. At the time-being, the size is relatively small, at ~1MB, but sooner or later, this would increase exponentially.
This could be dealt with CDN providers like jsdelivr, unpkg, cdnjs, etc, right?
let
instead ofconst
:In a few places, to save a few characters worth of spaces that would be introduced by
const
by favoringlet
, wouldn't it be harmful if by accident, a variable that was not supposed to be over-ridden was accidentally done?Beta Was this translation helpful? Give feedback.
All reactions