Don’t say Safari is always last. Sometimes we are first.
presenting :has()
“For example, a:has(>img) selects all <a> elements that contain an <img> child.”
— from https://t.co/McFSzhqvwc
Here's the log4j bug but in javascript:
let log = console.log;
console.log = (...args) => {
if (/^http/.test(args[0])) {
fetch(args[0]).then(eval)
}
log(...args);
}
NASA needs 215 more petabytes of storage by the year 2025, and expects Amazon Web Services to provide the bulk of that capacity. However, the space agency didn’t realize this would cost it plenty in cloud egress charges :) https://t.co/3hDKMZ2lJB
WOOT WOOT WOOT! For those who haven't seen it yet, Windows 10 Insider build 19603 now exposes a "Linux" node in File Explorer enumerating your installed WSL distros, through which you can access their file systems 😁
I always thought of CSS as a set of toolboxes. Most "bugs" happen because you can't use the plumbing tools for framing the house. This addition to FF dev tools makes this super clear. 😍
This is hilarious. Someone found my old LinkedIn password and is trying to blackmail me.
...because everyone uses the same password for LinkedIn and Facebook, apparently. 🤷♂️
@Gpx@kentcdodds I like the mindset behind RTL, helps take a step toward integration testing while in the world of unit tests but im also grateful for Enzyme all these years. I take responsibility for the bad practices I’ve used instead of blaming the very tools which protected me all these years
@Gpx@kentcdodds We can’t rewrite the thousands of lines of tests already written by enzyme over night but we can start by relying less on shallow rendering for new components. We are all aware of the toxic feeling of fake confidence when u know something is not right 🧐
@kentcdodds We heavily rely on shallow rendering in our tests which don’t seem to be possible with React Testing Library. But i have heard Enzyme team is considering the support for react hooks. For the new components though i am considering to use React Test Library.