I asked: “Is…
“`js
const emptyElement = el => {
while (el.hasChildNodes()) {
el.removeChild(el.lastChild);
}
}
“`
…faster than setting the `innerHTML` to an empty string?”
Turns out browsers have optimized the sh1t out of DOM operations i
I dislike the word “lineup” since it’s usually people humble-bragging about the events they speak at. Today I’m one of them 🫣. I mean, really, look at this set of speakers! https://t.co/s2aexzo0Gj
@Twitter
10 Go to Notifications.
20 See notification about recent tweet of person I follow.
30 Click “See less often”.
40 GOTO 10
What really grinds my gears… â@Twitterwitter, I follow these folks for a reason. No point in showing me their recent twee
@tanepiper @slightlylate That’s an awesome demo! Just added it to the 🡠Project Fugu API Showcase: https://t.co/bQp5HXpPuQ.
@ianwill93 @CrosExperts @Google Not sure how this would work. You would share something to the extension, but how would the extension accept it? In a popup window? In what tab?
@patrickbrosset @ChromeDevTools @jecfish Protocol handling is solved: https://t.co/lv2nxPwzIx.
RT @sw12: 🔢 We made a series of videos to explain Chrome concepts:
• What are Chrome release channels?
• What are Chrome’s origin trials?…
@1Marc Is…
export const emptyElement = el => {
while (el.hasChildNodes()) {
el.removeChild(el.lastChild);
}
}
…faster than setting the `innerHTML` to an empty string?
RT @1Marc: When I launched the modernized version of vanilla JavaScript TodoMVC, it got 600+ GitHub stars. People were generally positive,…
@argyleink Neat. I remember `calc()`ing this with the `ex` unit and a magic multiplier. Not great. Having `lh` directly is way better! ðŸ’
@patrickbrosset @ChromeDevTools @jecfish Do you think we can do anything about the Web Share Target testing? The solution would need to work on desktop and on connected mobile devices with port forwarding.