
🤟TypeScript fanatic | ❤️ building apps with React + Storybook | Storybook maintainer @chromaui
The Netherlands
Joined May 2009
- Tweets975
- Following248
- Followers391
- Likes1.6K
vitest-plugin-rsc 0.2.0 is released and now runs all public Next.js APIs through real Next.js code paths!
Excited about this: got a lightweight async_hooks compatibility shim working in the browser for vitest-plugin-rsc.
This should allow us run Next’s real cookies() and headers() request-context code in browser-mode RSC tests, without mocking those APIs.
@kettanaito
Excited about this: got a lightweight async_hooks compatibility shim working in the browser for vitest-plugin-rsc.
This should allow us run Next’s real cookies() and headers() request-context code in browser-mode RSC tests, without mocking those APIs.
@kettanaito
Kasper Peulen retweeted
Cursor* is better than Claude Code.
* The IDE, the cloud environment, the integration with Linear, Slack, and various other tools. And the overall experience, flexibility and productivity. I never have to worry about keeping my laptop awake.
Kasper Peulen retweeted
With v20 going EOL, all Node.js LTS versions can run TypeScript out of the box. There is no reason to keep using plain JavaScript for new projects.
Kasper Peulen retweeted
how come the best model for UI (Opus) is also the slowest. sooo annoying in an area where iteration speed is so key when trying out ideas... really like 5.5 fast but it just can't do UI 😭
Kasper Peulen retweeted
I'm gonna say it:
As it stands today, @cursor_ai is the best agentic coding tool out there. No jumping between terminal and editor, nice UI and you don't have to switch the tool if there's a new model.
change my mind.
Fully switching from the Codex desktop app to Cursor 3. Codex is amazing, and keeps getting better, but I keep finding things where @cursor_ai is a bit or miles ahead. Well done @cursor_ai!
Kasper Peulen retweeted
Replying to @bunjavascript
@jarredsumner When will the Claude harness start asking to use bun for everyting instead of bash. I see only adventages:
* cross platform by default
* easier to limit comand output then using grep etc.
* easy to chain commands
* faster
* use typescript sdks -> mcp
* etc. etc.
Is the epic stack gonna use RSC now @ReactRouter is supporting it?
Replying to @jacobmparis
This is one of the best parts of RSC. It reunites the React ecosystem so the underlying framework doesn't have to reach into our code so much. Very nice.
If you are interested in unit testing RSC in vitest, star the repo on github!
github.com/kasperpeulen/vite…
Kasper Peulen retweeted
In collaboration with the @vite_js team, Waku v0.24 adopts the official Vite RSC plugin inspired by Waku’s pioneering work. This introduces a stronger foundation for Waku and empowers its maintainers to focus on new features. Check it out! ⛩️waku.gg/blog/migration-to-vi…
Unit testing RSC, is it possible?
Some first success published here:
github.com/kasperpeulen/vite…















