Matan Borenkraout ๐Ÿฅฌ's Avatar

Matan Borenkraout ๐Ÿฅฌ

@matanbobi.dev.bsky.social

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

296 Followers  |  82 Following  |  83 Posts  |  Joined: 25.04.2023  |  1.8356

Latest posts by matanbobi.dev on Bluesky

Nooooo!!! ๐Ÿฅน๐Ÿฅน๐Ÿฅน

26.02.2025 15:17 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

If your talk title has the word harnessing, thatโ€™s an AI generated title and we know it.

15.02.2025 11:03 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
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...

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.

04.02.2025 08:18 โ€” ๐Ÿ‘ 107    ๐Ÿ” 27    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 3

Iโ€™ve published this here a while ago, unfortunately it probably got lost in the ocean of mentions and was unable to get someone to look at itโ€ฆ

bsky.app/profile/mata...

24.01.2025 19:56 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I had a Garmin watch before, I liked it but it was quite ugly and didnโ€™t have AMOLED.. Mow the Garmin watches cost so much

18.01.2025 16:00 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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?

18.01.2025 15:43 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Just as the bluesky handle

30.12.2024 09:20 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Bluesky just made me realize how many domains engineers have ๐Ÿ˜…

30.12.2024 07:35 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Hello everyone ๐Ÿ‘‹

30.12.2024 07:29 โ€” ๐Ÿ‘ 21    ๐Ÿ” 4    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Preview
chore: upgrade RTL version to avoid peer-deps mismatch by MatanBobi ยท Pull Request #13738 ยท facebook/create-react-app Resolves #13721 This PR upgrades the installed version of RTL to resolve the peer deps issue. It also installs DTL because RTL version 16 requires DTL to be installed.

Test failures are reproducing on main too and are unrelated to my changes (I tried understanding what's happening there but I'm not too familiar with the codebase and want to unblock users)
github.com/facebook/cre...

29.12.2024 20:08 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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?

29.12.2024 20:08 โ€” ๐Ÿ‘ 1    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 1

Wdym? It doesnโ€™t really learn based on your usage, just uses the open files as context.

29.12.2024 17:26 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Oh man why is my face all over this PR? ๐Ÿคฆโ€โ™‚๏ธ

29.12.2024 16:13 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
feat: support async act by MatanBobi ยท Pull Request #10 ยท vitest-dev/vitest-browser-react Resolves #9 Still need to add a test for a suspended component, will work on it soon. Test added.

This is the test:
github.com/vitest-dev/v...

Thanks!

29.12.2024 16:13 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Or if Iโ€™m testing something that is entirely a react implementation detail that shouldnโ€™t concern vitest-browser-react while using await act. And thanks for the reply, I appreciate it.

28.12.2024 21:01 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

The behavior is inconsistent. If I simulate a promise that takes 1000ms to resolve it will show the fallback and if my promise takes 300ms it doesnโ€™t show the fallback and just waits for the content to appear. My question is if thereโ€™s a threshold for showing the fallback on the client side

28.12.2024 21:00 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Code completions are highly affected from the open tabs, did you have something open? Or else it probably wonโ€™t know the styling.. Or is that something like writing a comment showing what you want to achieve and copilot not doing the work?

27.12.2024 10:32 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

AFAIU, sync external store isnโ€™t something they want to push, just a bandaid to not break the ecosystem.. Any mutation to a sync external store cannot be marked as non blocking and therefor donโ€™t fit to the concurrent rendering model.

27.12.2024 10:31 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

What do you call failure? What are you experiencing?

27.12.2024 10:28 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Is there any reference you can point me to?
Thanks!

27.12.2024 09:37 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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.

27.12.2024 09:37 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Bummer, hope to see you next time!

26.12.2024 20:55 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

@gil.tayar.org on stage in the JavaScript IL meetup!

26.12.2024 17:39 โ€” ๐Ÿ‘ 8    ๐Ÿ” 1    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Video thumbnail

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 ๐Ÿ”ฅ

14.12.2024 19:58 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

๐ŸŽฏ๐ŸŽฏ๐ŸŽฏ
It says "Turn on all emails" ๐Ÿคฆโ€โ™‚๏ธ

10.12.2024 09:36 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

Let's play a guessing game, you're seeing this blue button at the bottom of an unsubscribe page, what does it do?

10.12.2024 07:33 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I agree, though I believe that it also has an affect on the core package. This was just me giving a quick look, but youโ€™re right.

05.12.2024 20:48 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image Post image

19 is still bigger as you thought :)

05.12.2024 20:42 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Strongly agree here. Using default exports also make refactoring harder since people can rename the imported module whatever they want.

05.12.2024 20:40 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

It does help :) thanks Artem

01.12.2024 16:29 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@matanbobi.dev is following 19 prominent accounts