Luca Barone
cloud-walker.bsky.social
Luca Barone
@cloud-walker.bsky.social
Let's just vibe code a new engine
October 24, 2025 at 11:39 AM
maybe we just need to learn better how to guide Claude, but personally, it stress me out a bit every time I do an attempt like this
October 22, 2025 at 6:06 AM
nice article, but made me think that we are not ready enough for vibe coding, all these errors, cannot avoid thinking of that an old research on github issues and some human thinking would have wasted less energy and solved the problem earlier (yes I know the point of the article!)
October 22, 2025 at 6:05 AM
Oh ok so potentially the ref gets refreshed too often, but I guess the latest render its not discarded, I'm wondering if it's still better to use a useLayoutEffect in this case
August 4, 2025 at 1:52 PM
to my eyes updating the ref on render its ok, because its just an assignment operation done on a the ref value so I don't think anything else is needed.
August 4, 2025 at 12:10 PM
I've done a PoC with the sentry useHotKeys hook and using my useLiveRef hook copied from @ariakit.org (github.com/ariakit/aria...)

It works but then I discovered that the original code from ariakit uses a useLayoutEffect, now I'm curious if I'm actually doing something harmful
github.com
August 4, 2025 at 12:08 PM
Mmm I Remember to have done this in a case, I'll check it later
August 3, 2025 at 6:13 PM
Why not just update the ref directly on render? Instead of taking advantage of a useEffect?
August 3, 2025 at 4:48 PM
Extra files does not mean extra workers spawned by vitest?
June 14, 2025 at 2:35 PM
May 10, 2025 at 9:43 AM
I'm sure that I just need more practise on that, the project where I tried it is also custom and a bit convoluted, with client / backend folder, api docs folder, tests, stories files, mocking system, etc. etc.
May 4, 2025 at 6:55 AM
I tried knip recently feels like I need to take a certification only for the config 😆
April 30, 2025 at 7:35 PM
just use something like panda-css.com and enable typesafety
March 29, 2025 at 9:14 AM
You have taken some Gorgonzola, nice move!
March 4, 2025 at 9:58 PM
yeah agreed, I think it may be useful only for the development mode related mocks
February 22, 2025 at 2:47 PM
this would be extremely cool! I've tried to do it previously in my codebases, but it always ended up a little mess
February 22, 2025 at 2:22 PM
If I understand correctly, what you need is a mapped type in combination of a generic function type: www.typescriptlang.org/play/#code/G...
Documentation - Mapped Types
Generating types by re-using an existing type.
www.typescriptlang.org
February 3, 2025 at 10:41 AM
like that:
December 28, 2024 at 10:48 AM
We use the render prop pattern inspired from @ariakit.org to render the button as links and viceversa
December 28, 2024 at 10:45 AM
Sorry to hear that, I personally cannot live without it 🤷
December 16, 2024 at 8:39 PM