[Update 2021-06: Chrome and Edge have supported ES6 Modules in Dedicated Workers since Nov 2019. The equivalent Webkit bug is https://bugs.webkit.org/show_bug.cgi?id=164860 which seems fixed since April 2021. Yay! The equivalent Mozilla bug is https://bugzilla.mozilla.org/show_bug.cgi?id=1247687 which work seems to have now started. Yay! Follow along on Can I use!]

ReactJS logo

I've been playing around a bit with React, since that's where all the hot and shiny is lately. I really like it, but I can see some of the hot and shiny warts - I'll blog about that later after I've been fully brainwashed had more time to play with it.

For the purposes of this exercise, one thing I'm trying to do is go the no-build-step route, where it's all pure HTML and JavaScript. This means no JSX, no npm, no Babel. It's really not too bad at all (unfortunately almost all examples I've seen online use JSX - and understandably).

It's also given me a good stretch at using ES6 modules natively, one hot and shiny wart I've noticed there too.

Read the rest of this entry ...

§1099 · October 19, 2017 · JavaScript, Software, Technology, Web · 2 comments ·


JavaScript logo

The last piece heralding the dawn of modern JavaScript (sometimes thought of as ES6, but we're past that now) arrived last month when two browsers (Chrome and Safari) shipped support for ES6 modules natively without developer flags. It's now possible to write all this stuff (modules, classes, arrow functions, const/let variables, Promises) using just your code and not relying on transpilers!

Read the rest of this entry ...

§1080 · October 17, 2017 · Chrome, Firefox, JavaScript, Safari, Software, Technology, Web · 2 comments ·