Deedo-dev retweeted
I really like JavaScript import attributes as a way to invoke build magic.

ALT // I never liked this pattern. // I might not want all css files to import the same way. // It isn't clear that build magic is going on here. import cssModule from './styles.css'; // This is a little better, as the same file can be imported in different ways. // But it still isn't clear that build magic is happening - the module ID is valid. import cssModule from './styles.css?css-module'; // I tend to use this pattern. // It's clear that something non-standard needs to happen to load this module. import cssModule from 'css-module:./styles.css'; // But I'm looking forward to using this instead: import cssModule from './styles.css' with { type: 'rollup-css-module' };
Wow, JavaScript's new array.toSpliced() makes it super easy to move an element to a different location in an array with the others elements filling the vacant positions.
45
One feature I've always missed from all the databases I've used so far, is immutable columns.
Would be great to be able to specify that a field can only be set during creation but not after.
Does this exist in any main stream database?
38
I'm happy about this.
I'm always happy when something that outserved its usefulness gets removed.
eslint.org/blog/2023/10/depr…
1
28
Javascript is finally getting a native groupBy method developer.mozilla.org/en-US/… ❤️
1
38
Deedo-dev retweeted
Welcome to Vike's new company sponsor: bluefin.one.
I like such down-to-earth businesses and I'm glad Vike is providing them an architecture that is both rock-solid and flexible.
@chrisvanderloo Thank you - this makes a big difference 💚
Deedo-dev retweeted
Optimized some data structures in Parcel yesterday! 🚀
This part isn’t even Rust yet. JS can go a long way. 😊
I'm not getting the recent hype about Bun tbh.
Yes, it seems like a cool project and the supposed speed is impressive. But wouldn't you rather use C, Go or Rust if performance was your main concern? And besides speed, what does bun do that Node or Deno don't do? #javascript
1
153
Deedo-dev retweeted
Did I just reimplement a bunch of low level Linux system calls in JS so I can use them from WASM? Yes, yes I did. 🙈
Deedo-dev retweeted
Amazing to see both Lightning CSS and React Aria Components in the Tailwind Connect keynote! 😲
✨ Just published the keynote presentation from Tailwind Connect!
I shared some plans for the future of the framework, @samselikoff showed off some great modern CSS demos, and @steveschoger imparted his design wisdom.
Watch it here or on YouTube 🎬
youtube.com/watch?v=CLkxRnRQ…
Oh, how I wish thst would happen
It's 2023 — time to say ❌ to CommonJS.
deno.com/blog/commonjs-is-hu…
1
45
Deedo-dev retweeted
Great to see the navigation API land in the HTML spec html.spec.whatwg.org/multipa… with positive feedback from Mozilla. It's already shipped in Chrome, and it's so nice to use compared to the history API developer.chrome.com/docs/we…
Deedo-dev retweeted
This is so cool. Emulators for almost every version of classic Mac OS right in a browser via WASM. infinitemac.org
Deedo-dev retweeted
Islands architecture avoids full page hydration to improve end user performance. But how *exactly* do they work?
deno.com/blog/intro-to-islan…
Tailwind ist finally Shoppingcenter ES Module Support. tailwindcss.com/blog/tailwin…
Will Update my package.json with type: "module" later today. 😀
36
I just heard the best phrase describing my concerns about AI, from John Oliver of @LastWeekTonight .
"The problem with AI isn't that it's smart. It's that it's stupid in ways we can't always predict."
59










