Echo JS 0.11.0

<~>

GrosSacASacs comments

GrosSacASacs 166 days ago. link 2 points
Corrections:

.trim() is not new but only .trimStart() and .trimEnd() are

error.message will stay the same otherwise it would be a huge breaking change for many  packages, error.code is getting added however to many places.

prototype.toString(), which now returns exact slices of source code text, and mitigations for side-channel vulnerabilities to prevent information leaks.


is actually 

Function.prototype.toString(), which now returns exact source including the comment in between function and name of the function.
GrosSacASacs 200 days ago. link 1 point
As an alternative to [].forEach loops [].some and [].every can also be used to terminate early by returning true or false.
GrosSacASacs 240 days ago. link 1 point
Note that Promise.all does not technically execute promises inside, it just returns a promise, that resolves when the array of promises all resolve, or one rejects.
GrosSacASacs 644 days ago. link 1 point
I can't find real differences with react, that would make me want to switch from one to the other
GrosSacASacs 711 days ago. link 4 points
I have a background with socket.io. Should I learn how to use vanilla web sockets or should I use µWebSockets until Why you should never use µWebSockets arrives ? Performance is not a priority right now, and premature optimization can hurt.
GrosSacASacs 726 days ago. link 1 point
I think yarn also has downsides compared to npm. In npm if a dependency updates version patch, the potential security patch is now included in future npm installs. In Yarn you must manually update everything from what I understand
[more]