Echo JS 0.11.0

<~>

MaxArt comments

MaxArt 3290 days ago. link 1 point
Where does this figure "50%" come from?
MaxArt 3290 days ago. link 2 points
I see that the title is to catch the readers rather than actually to state the end of native apps, if you admit that they "still have a few capabilities that mobile apps will not have for a potentially long time".

It's not that device manufacturers have never tried the "all-web-tech" road in the past - it's an effort as old as WebOS - but there are apps which are *explicitely* thought for devices, and aren't suit to live on the web in any form. Like a file explorer, for example.

Honestly I have no idea native apps are doomed, or even will be relegated in a small niche. In my opinion, it's way too soon to tell. We still don't know if PWAs will ever catch on, among developers *and* users. Safari doesn't even support service workers at the moment.

One thing, for sure, is that we should try to develop PWAs because they *do* look cool!
MaxArt 3291 days ago. link 2 points
In short, it makes background images centered, non-repeating and covering.
If the browser supports CSS3, that doesn't need a jQuery plugin: all you'd need is a CSS class!
The only "useful" part is the fix for IE8- for background-size... which works as expected only if it's set to `cover`. If you want something else (because it's an option you can override), you're out of luck.
Definitely a badly designed plugin.
MaxArt 3291 days ago. link 1 point
?? Where did versions 2.1.0-2.1.3 go?
Just never tagged?
MaxArt 3294 days ago. link 2 points
I agree, that confused me quite a bit when I first read the title.
MaxArt 3304 days ago. link 2 points
A reminder of a lesser known event, but that was painful to read. Not only the English is broken, the punctuation is too.
MaxArt 3306 days ago. link 6 points
A motivatonal post, but not directly related to JavaScript, I'm afraid.
MaxArt 3306 days ago. link 1 point
You can pass a DOM element instead of a selector there. It's just like ReactDOM.render, only you can pass a selector too.

Plus you can pass a template property too so it won't use the element's content as a template.
Moreover, with Vue you can create .vue files that merge together the code, the template and the style of a single component. As a plus, you can use transpilers and compilers for all (Babel, Pug, Sass... you name it).

Finally you can even use JSX with Vue so you actually have maximum flexibility here.
MaxArt 3307 days ago. link 1 point
Yes, that is a thing, although many didn't know it because most of ES2015 code - let alone ES2015 - gets transpiled.
Honestly I'd have preferred to trigger strict mode as soon as non-simple parameters get parsed.
You want to use default arguments, argument destructuring, spread operators? Fine, but you'll be in strict mode.

But I guess keeping the "use strict" directive mandatory for strict mode make things clearer... But the workaround is messy, sadly.
[more]