Echo JS 0.11.0

<~>

tracker1 comments

tracker1 3272 days ago. link 1 point
I haven't not used babel in some while now... even for smaller, personal bits... though not always via webpack.
tracker1 3272 days ago. link 1 point
My favorite, and really useful for batch processing scripts, is `--expose-gc` which allows you to use `global.gc()` in your processing script after each item (or N items), keeping your total memory use lower.  It's not a good thing for service processes (generally), but for long-running workers, can keep you from experiencing large GCs in the middle of the run, or from inflating the memory use on a system that's shared for other processing scripts.
tracker1 3273 days ago. link 2 points
Didn't watch the whole thing... seriously, the presumtion is that Angular was ever great to begin with.  Every time I've used Angular, I've come across so many odd WTF moments, I regretted even using ng in the first place...  2+ is better, but still not "good".  It's too prescriptive in the first place, fights upstream conventions and the DSL for templating is painful.  Having to "inject" what's already required in is kind of weird too (ng2+).

In general, just not enough of a fan to care anymore...  If I can do React, I will.. if it's better served with simple forms/submit + jQuery, I'll do that.  but ng is out of my life.  I'd rather do web components, vue, polymer etc over angular of any brand, and React over all of them.  That's just my POV.
tracker1 3280 days ago. link 1 point
Another issue is there are still upcoming features via babel that are useful but not in the browsers yet... and even then, you need a build process to support older browsers anyway (IE11 will be around for a few more years still).
tracker1 3283 days ago. link 1 point
Seeing exploits like this is just wild in my mind.  Sometimes I read things things and think, man, I get how it worked, but I just never have the mind to do things like this... The only times I'm creative working around things is when I need to be.
tracker1 3283 days ago. link 1 point
I'm finding that react-router v4 is perfectly serviceable... only really needed to add a single listener to dispatch a route update into my store... since the router handles the routes anyway.
tracker1 3286 days ago. link 5 points
Worth noting that this uses monaco, the same core editor as VS Code.  I'm not quite sure why this couldn't be a set of extensions to VS Code itself, given the number of other extensions... cool result though.
tracker1 3288 days ago. link 1 point
Soem issues with this, just on the Features/tech list...

Mocha/Chai/Supertest... just use Jest, it includes test/assertion/coverage in the box, very flexible and faster than the selected options.  I like mocha a lot, and prefer chai's expect syntax, but Jest just does the work better.

React-media and PostCSS... I'm a big proponent of moving towards react-jss (css in js) for styling, you can use themes, template out, reuse and all in JS, including prefixing.

makefile... really, just use npm tasks already, and if you need scripts, make them in js, use shelljs if needed... Yes, the makefile works, but it's simply alien to the JS/Node environment.
tracker1 3288 days ago. link 2 points
Interesting...  may well play around with this, getting ready to add immutable to a React project.
[more]