ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

esbuild v0.21.0: support for ECMAScript decorators and more
@evanw
https://github.com/evanw/esbuild/releases/tag/v0.21.0

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
cassidoo, to random
@cassidoo@notacult.social avatar

I'm a lil annoyed at React these days

https://blog.cassidoo.co/post/annoyed-at-react/

jasonprogrammer,
@jasonprogrammer@mastodon.social avatar

@sangster @developit @cassidoo I love . It's tiny and easy to embed into anything. I'm currently building an MPA with & and each page can be as simple or complex as I need it to be.

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

esbuild’s bundle size analyzer web app now has a treemap visualization
@evanw
https://hachyderm.io/@evanw/111478671934659392

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
kaiserkiwi, to webdev German
@kaiserkiwi@corteximplant.com avatar

This is actually a pretty awesome (but lengthy) post about Bun and why you probably shouldn't jump on the train already.

Bun hype. How we learned nothing from Yarn
https://dev.to/thejaredwilcurt/bun-hype-how-we-learned-nothing-from-yarn-2n3j

mike, to random
@mike@jammer.social avatar

I would be playing with @godotengine like everyone else if I wasn't having-a-ball with fast JavaScript tooling like and . 😋

mike, to webdev
@mike@jammer.social avatar

It's a subtle thing that few people will notice, but I've made progress correcting the structure of 's generated ().

If nothing else, the Aria accessibility guidelines are a fantastic resource for learning how to correctly structure your document, things like what should actually go inside the <body> (i.e. Landmarks), etc.

mike,
@mike@jammer.social avatar

Thanks to (which has OMG made my workflow 1000x faster), a thing I'm looking forward to doing is some code splitting.

~12% of our JavaScript code is this large text-to-emoji conversion table. It's also about 5 years behind on emojis. It would be nice to load this lazily, as it should only be needed when editing content.

mike, to javascript
@mike@jammer.social avatar

My apologies for the radio silence. After working through a funk, I've been obsessing over some work that's needed "just 2 more days" for the past few weeks. 😅

The TL;DR is I broke everything while upgrading libraries and modernizing the software stack, but thanks to and , our and build times are 1 SECOND now instead of several minutes... not to mention live IDE linting, support, and live reloading. 🤯

I'm hoping to deploy tomorrow.

video/mp4

aral, to programming
@aral@mastodon.ar.al avatar

Oh, poop, esbuild doesn’t have dynamic import support yet.¹

(esbuild is amazing and adding that feature isn’t trivial by any means.)

Well, vm.Script(), my old friend, I guess we meet again.

¹ https://github.com/evanw/esbuild/issues/700

pieceofthepie, to programming
@pieceofthepie@n8e.dev avatar

So 🤬 annoyed. A previous dev setup a project with a pipeline that runs babel into one folder and esbuild over that to make a main.js for the site. It's not a node app. Just a stupid set of progressive enhancements.

I cannot for the life of me figure out how to make this a watchable/hot-reload setup. I just do not have the headspace right now and it's just making me irrationally angry.

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
janriemer, to javascript

This is both awesome and cursed :awesome: 😬:

polywasm - a library that implements the API and can act as a polyfill, if is not available.

Made by the creator of evanw.

https://github.com/evanw/polywasm

I'm wondering, though, whether this is really needed, given that there is asm.js 🤔

Also see section "Can WebAssembly be polyfilled?" on the WebAssembly FAQ:

https://webassembly.org/docs/faq/

rauschma, to javascript
@rauschma@fosstodon.org avatar
nhoizey, to random French
@nhoizey@mamot.fr avatar

If someone is creating service workers with recipes and injectManifest, a build with , and doesn't have any issues, I'm interested! 😅

I have a very strange issue:

https://github.com/GoogleChrome/workbox/issues/3207

Bonus points if this is with @eleventy

⚓️ https://nicolas-hoizey.com/notes/2023/05/13/1/

TimPurdum, to programming
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • modclub
  • DreamBathrooms
  • InstantRegret
  • tacticalgear
  • magazineikmin
  • Youngstown
  • thenastyranch
  • mdbf
  • slotface
  • rosin
  • Leos
  • kavyap
  • Durango
  • normalnudes
  • ethstaker
  • everett
  • GTA5RPClips
  • cubers
  • khanakhh
  • ngwrru68w68
  • anitta
  • provamag3
  • cisconetworking
  • tester
  • osvaldo12
  • megavids
  • lostlight
  • All magazines