Refael I.

25 posts

Refael I.

Refael I.

@4refael

Katılım Haziran 2009
336 Takip Edilen106 Takipçiler
Refael I. retweetledi
Jarred Sumner
Jarred Sumner@jarredsumner·
In the next version of Bun `Bun.cron(file, schedule, name)` schedules a function to be called on a recurring interval
Jarred Sumner tweet media
English
71
73
1.6K
91.4K
Refael I. retweetledi
Jarred Sumner
Jarred Sumner@jarredsumner·
Here's a 1 GB memory reduction for very long Claude Code sessions Before: `() => controller.abort()` Fix: `controller.abort.bind(controller)`
Jarred Sumner tweet media
English
136
221
4.6K
1.5M
Refael I. retweetledi
Jarred Sumner
Jarred Sumner@jarredsumner·
In the next version of Bun You can: - `bun --parallel a.ts b.ts` - `bun --sequential seed app.ts` - `bun --parallel --filter='*' 'build:*'`
English
17
30
637
63.4K
Refael I. retweetledi
Matt Pocock
Matt Pocock@mattpocockuk·
How did I not know you could pass an abort signal to .addEventListener?!
Matt Pocock tweet media
English
69
190
2.2K
182.2K
Refael I. retweetledi
jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ@jh3yy·
CSS macOS style dock nav with sub-menu 🤙 :has() for magnification ✅ [popover] for the sub-menu ✅ anchor() to tether the menu ✅ offset-path to put items on the curve ✅ linear() for the springy transition ✅ Combining cool APIs to create common UI patterns without JS ⭐️
English
26
132
1.7K
90.9K
Refael I. retweetledi
Adam
Adam@adamgreattweet·
I was fired from Twitter this morning. I was responsible for the timeline refreshing the second you saw a good tweet
English
9.2K
31.8K
498K
0
Refael I. retweetledi
Adam Wathan
Adam Wathan@adamwathan·
🚀 Just tagged v0.1.15 of the Tailwind CSS JIT project which adds a built-in "important" modifier — something we've teased in the Tailwind docs for like 3 years 😅 github.com/tailwindlabs/t…
Adam Wathan tweet media
English
43
89
1.1K
0
Refael I. retweetledi
Rik Schennink
Rik Schennink@rikschennink·
📱 TIL about the Visual Viewport API ⌨️ When opening a soft keyboard `window.innerHeight` will stay the same but `visualViewport.height` won't! 📡 Even better, you can listen for `resize` and `scroll` events on the `visualViewport` object. 🎉 developer.mozilla.org/en-US/docs/Web…
Rik Schennink tweet media
English
5
332
1.3K
0
Refael I.
Refael I.@4refael·
@ryanflorence With a meaningful variable name, I'd legit prefer the second way. Less noise while scanning throughout the code
English
0
0
1
0
Refael I. retweetledi
Stefan Judis
Stefan Judis@stefanjudis·
Starting with Chrome 86, it'll also come with a partitioned browser cache (Safari has this for a year now). I wrote a quick post explaining what this means for us webdevs. 🙈 🔗 stefanjudis.com/notes/say-good…
English
5
69
206
0
Refael I. retweetledi
Stefan Judis
Stefan Judis@stefanjudis·
Safari now supports `enterkeyhint`. 👏 I always like it when the enter key gives me more context. 👇 🔗 Spec: #input-modalities:-the-enterkeyhint-attribute" target="_blank" rel="nofollow noopener">html.spec.whatwg.org/multipage/inte… #devsheets
Stefan Judis tweet media
English
14
857
2.9K
0
Refael I.
Refael I.@4refael·
@adamwathan To my understanding, `flex-start` depends on `flex-wrap` of the container, and `start` depends on the writing-mode of the container. Not sure what's the use case 🤷‍♂️
English
0
0
0
0
Adam Wathan
Adam Wathan@adamwathan·
Anyone out there know if there are subtle differences between `align-items: flex-start` and `align-items: start`? Trying to figure out if it's safe to do this in a future Tailwind release: .items-start { align-items: flex-start; align-items: start; }
English
5
6
30
0
Refael I. retweetledi
Laurie Voss
Laurie Voss@seldo·
Did you know that for 200 years we've known that spiders can fly but haven't really understood how they did that and we finally worked it out and the answer is "they ride the earth's magnetic fields at will"??? Nature is fucking awesome. theatlantic.com/science/archiv…
English
721
16K
58.5K
0
Refael I. retweetledi
I Am Devloper
I Am Devloper@iamdevloper·
colleague: why are you sweating? me: I currently have 3 hours of work stored solely on my clipboard
English
66
868
5.7K
0
Refael I. retweetledi
Mark Dalgleish
Mark Dalgleish@markdalgleish·
"As an experienced engineer, my motto is 'Strong opinions, weakly held.'" "Um, that's stupid." "Good point. It is no longer my motto."
English
10
205
1.6K
0
Sebastian De Deyne
Sebastian De Deyne@sebdedeyne·
Are you using custom directives in Vue? What for and why?
English
4
0
1
0
Refael I. retweetledi
Unlearn
Unlearn@UnlearnDev·
Vue DevTools is great for inspecting your app state, but sometimes you might want to debug what's happening in your template and inspect the content of compiled render functions. @rubnvp @VueDose #vuejs buff.ly/2Pzx8OJ
Unlearn tweet media
English
0
9
29
0
Refael I. retweetledi
Shai Reznik (Qwik)
Shai Reznik (Qwik)@shai_reznik·
Today I learned: the "length" property of a function object tells you the number of parameters it expects. This is how Jasmine knows whether you added the param "(done) => ..." or not in your tests, to label it as async and to wait for the done(). #Javascript #testing #FunFact
Shai Reznik (Qwik) tweet media
English
9
109
299
0