Echo JS 0.11.0

<~>

tracker1 comments

tracker1 1932 days ago. link 1 point
Not a very deep dive into this... though, for the most part it should be somewhat abstracted away from your application's code.

Beyond this, the most glaring issue, is the assumption that a user may only have a single role, as opposed to possibly multiple roles.
tracker1 1932 days ago. link 1 point
I'm kinda meh on this...  A lot of this seems to be a combination of some DOM helpers and lodash-like utilities... 

Most of this would be better served with micro libraries so you can cherry pick.  Some parts would be better served with the built in features of JS and DOM directly.
tracker1 1933 days ago. link 1 point
I'd say that it largely comes down to the fact that newer CSS features are increasingly complicated, compared to what people are used to.  Many have already learned less, scss and/or stylus and rolling back those things to go to more canonical css is harder.

Beyond this, many UI toolkits have already abstracted away many of the aspects on your behalf to give you a good usability level.  I absolutely love what's in the box with material-ui, and every time I have to tweak flexbox layouts by hand, if feels like pulling teeth, figuratively speaking, it just isn't pleasant in any way, shape or form.

It's all very cool, transitions, flexbox/grid, variables, imports and more... In the end, there's a certain amount of entropy to overcome, abstraction to get past and things to learn.

This also doesn't even get into the fact, that many developers turn down their noses at technologies the closer to the UI that you get.  JavaScript itself to this day suffers in this way, I see it often from Java and C# developers.
tracker1 1933 days ago. link 1 point
I don't have the ability, that I know of to adjust that... I did upvote myself, so slightly offset.
tracker1 1933 days ago. link 1 point
definitely something to keep an eye on... for me, killer features are async loading bundles and references to additional resources (images, s/css, etc) as well as some initial html tranform for environment variable injection...

I hate how slow parcel is, but absolutely love it's in the box feature set.
tracker1 1935 days ago. link 1 point
Main site is 1.5mb compressed, 5.2mb uncompressed JS.
tracker1 1935 days ago. link 1 point
Do not do this.. use modules/packages instead.  This type of development is an artifact of older techniques that are not needed today.  For that matter every modern browser supports modules (and dynamic import) directly, and there are many, many bundlers if you want to do it ahead of time.

Most of these articles are promoting writing JavaScript like it's still 2010.

https://caniuse.com/#search=modules
tracker1 1936 days ago. link 2 points
It isn't so much about being worthy content... this site serves a very specific topic, and venturing away from that (JavaScript) is frowned upon.

There are lots of articles and tools that get posted on Flutter, Swift, Rust, Go, Commercial Services, etc... and they tend to get removed.  The fact that this is more conceptual is why I didn't remove it out of hand.
tracker1 1936 days ago. link 1 point
I almost removed this article, but I'd like to get feedback from the community on this. It isn't JS specifically, but thinking and explaining how to handle certain types of programming problems.

You'd be likely to see questions like this in a FAANG level technical interview.
[more]