Sign in

Matan Borenkraout 🥬

@matanbobi.dev
307 followers 82 following 83 posts

Senior SE @Microsoft • Testing Library maintainer • Creating better software, one word at a time. Be kind!

PostsRepliesMedia
Matan Borenkraout 🥬 @matanbobi.dev · 15/02/2025
If your talk title has the word harnessing, that’s an AI generated title and we know it.
010
Reposted by Matan Borenkraout 🥬
Vitest @vitest.dev · 04/02/2025
We've released patches for a critical security vulnerability. We strongly encourage projects to upgrade to versions 1.6.1, 2.1.9, or 3.0.5 as soon as possible.
github.com
Remote Code Execution when accessing a malicious website while Vitest API server is listening
### Summary Arbitrary remote Code Execution when accessing a malicious website while Vitest API server is listening by Cross-site WebSocket hijacking (CSWSH) attacks. ### Details When [`api` o...
110227
Matan Borenkraout 🥬 @matanbobi.dev · 18/01/2025
I’m tired of my Apple Watch.. any recommendations for a smart watch that is both not too big and can provide useful training data?
110
Matan Borenkraout 🥬 @matanbobi.dev · 30/12/2024
Bluesky just made me realize how many domains engineers have 😅
130
Reposted by Matan Borenkraout 🥬
Testing Library @testing-library.com · 30/12/2024
Hello everyone 👋
0214
Matan Borenkraout 🥬 @matanbobi.dev · 29/12/2024
Hi @ricky.fm, @danabra.mov, I know CRA is deprecated but since the release of React 19, it now breaks installation because RTL's version is expecting peer dep for React 18. I've created this PR to update the RTL version according to our latest recommendations. Any chance to get your assistance?
112
Matan Borenkraout 🥬 @matanbobi.dev · 27/12/2024
Hi @ricky.fm, @danabra.mov! I'm trying to migrate vitest-browser-react to use the new `await act` approach. I have a test where I try to assert a suspended component shows fallback and then the content when it's ready. I remember reading there's a threshold for showing fallback but couldn't find it.
100
Matan Borenkraout 🥬 @matanbobi.dev · 26/12/2024
@gil.tayar.org on stage in the JavaScript IL meetup!
281
Matan Borenkraout 🥬 @matanbobi.dev · 14/12/2024
Don't you just hate debugging a dropdown that hides once you focus out?! Chrome DevTools to the rescue! Just toggle the "Emulate a focused page" checkbox - and you're good to go 🔥
010
Matan Borenkraout 🥬 @matanbobi.dev · 10/12/2024
Let's play a guessing game, you're seeing this blue button at the bottom of an unsubscribe page, what does it do?
130
Matan Borenkraout 🥬 @matanbobi.dev · 01/12/2024
If you're looking for some development vibe music, this is the playlist I made for when I try to get deep focus. open.spotify.com/playlist/7HV...
open.spotify.com
Programming & Dev
000
Matan Borenkraout 🥬 @matanbobi.dev · 27/11/2024
Hello Athens 👋
010
Matan Borenkraout 🥬 @matanbobi.dev · 19/11/2024
@cassidoo.co what kind of sick game are you playing here? 😅
1191
Matan Borenkraout 🥬 @matanbobi.dev · 19/11/2024
After posting something on Reddit, I need a beer 😂
040
Matan Borenkraout 🥬 @matanbobi.dev · 19/11/2024
Is it just me that's so scared of posting something I wrote on reddit? It's like people have no manners there.
200
Matan Borenkraout 🥬 @matanbobi.dev · 19/11/2024
So, How many occurrences of React.Dispatch<React.SetStateAction in your codebase? matanbobi.dev/posts/stop-p...
matanbobi.dev
React Anti-Pattern: Stop Passing Setters Down the Components Tree
Let's see why passing useState setters as props creates abstraction leaks and tightly couples child components to parent implementations.
074
Matan Borenkraout 🥬 @matanbobi.dev · 15/11/2024
Weekend mode
Shiffi the poodle sleeping
040
Matan Borenkraout 🥬 @matanbobi.dev · 10/11/2024
I get asked this question quite a lot, so I decided to write a post about it: "How can I better prepare for an Algorithms interview?" matanbobi.dev/posts/tips-f...
matanbobi.dev
Practical Tips for Nailing Algorithms Interviews
I'm getting asked this question a lot, so let's talk about it - what can we do to get better at the LeetCode kind of interview
240
Matan Borenkraout 🥬 @matanbobi.dev · 10/11/2024
Testing-library and some VSCode stuff :)
030
Matan Borenkraout 🥬 @matanbobi.dev · 06/11/2024
Seeing the US elections results and the responses from friends here definitely feels like the elections in Israel in 2022. If I can tell you one thing about the future from our experience, it will only get worse.
021
Matan Borenkraout 🥬 @matanbobi.dev · 05/11/2024
Finally! Starting with Chrome 132, Chrome will stop automatically upgrading HTTP to HTTPS on localhost. issues.chromium.org/issues/41251...
issues.chromium.org
Chromium
030
Matan Borenkraout 🥬 @matanbobi.dev · 30/10/2024
We're super happy to welcome Qwik Testing Library to our ecosystem and docs site! If you're a Qwik user, give it a spin here: testing-library.com/docs/qwik-te...
testing-library.com
Intro | Testing Library
Qwik Testing Library on GitHub
010
Matan Borenkraout 🥬 @matanbobi.dev · 11/06/2023
In case you missed it, VSCode 1.79.0 now knows how to automatically update the opening and closing tag inside JSX. No need to use the Auto Rename Tag extension anymore, just turn on the flag 😍 "editor.linkedEditing": true Amazing work VSCode team 🥳
The new linked editing in JSX in action
010
Matan Borenkraout 🥬 @matanbobi.dev · 10/05/2023
I'm here to remind everybody that since git 2.37.0, there's no need to use the --set-upstream flag for new branches, just turn the flag on 🙏
setting push.autoSetupRemote to true in order to create new branches on push.
010
Matan Borenkraout 🥬 @matanbobi.dev · 05/05/2023
It’s haircut day!
Shiffi after a haircut
000
Matan Borenkraout 🥬 @matanbobi.dev · 01/05/2023
Stickers are here!
Testing library stickers
000
Matan Borenkraout 🥬 @matanbobi.dev · 30/04/2023
The inert #HTML attribute has landed in Firefox 112 making it available in all major browsers. developer.mozilla.org/en-US/docs/We…
An example usage of the inert global attribute on a body tag.
000
Matan Borenkraout 🥬 @matanbobi.dev · 30/04/2023
⚠️ Phishing Alert ⚠️ A few days ago I received this email. It got me all scared in the middle of the night since it really looked authentic (sent from PayPal.com). Can you guess the things that made me realize it's a phishing email? Answer in the first comment 👇
100
Matan Borenkraout 🥬 @matanbobi.dev · 29/04/2023
Just listened to the @syntax.fm episode with Nicholas Zakas and I absolutely love the multiplier term to judge senior engineers: “Can you help make the people around you better? Are you able to double the productivity of the five people on your team?”. Thanks @wesbos.com and @tolin.ski!
A screenshot of the Syntax episode from Spotify.
1173
Matan Borenkraout 🥬 @matanbobi.dev · 28/04/2023
A good weekend is the one that starts with Knafeh! And this time, inside a bagel 😱
Knafeh inside a bagel at the TLV port.
110
Matan Borenkraout 🥬 @matanbobi.dev · 27/04/2023
A new Search element was added last month to the HTML spec. It has semantic meaning and will be exposed to the accessibility API as a search landmark. Thanks to Scott O'Hara for the work on this spec :)
an example of the search element in use vs a div with role search.
010
Matan Borenkraout 🥬 @matanbobi.dev · 26/04/2023
One thing I’ve learned from my time reviewing code is that there’s no replacement to a good word. Next time you review a PR, if you see something you like, say it! (and a picture for some attention)
000