Hiroshi Ogawa (@hiroshi_18181) 's Twitter Profile
Hiroshi Ogawa

@hiroshi_18181

@vitest_dev @vite_js contributor

ID: 1727977420719013888

linkhttps://github.com/hi-ogawa calendar_today24-11-2023 09:08:39

247 Tweet

440 Followers

39 Following

Hiroshi Ogawa (@hiroshi_18181) 's Twitter Profile Photo

Previously I was simply crawling files with "use server" to collect server references. Now switching to collect them from plugin pipeline, but it's making 7 builds in total with this loop github.com/hi-ogawa/vite-…

Previously I was simply crawling files with "use server" to collect server references. Now switching to collect them from plugin pipeline, but it's making 7 builds in total with this loop github.com/hi-ogawa/vite-…
Hiroshi Ogawa (@hiroshi_18181) 's Twitter Profile Photo

Experimenting with code transform for closure server action lifting github.com/hi-ogawa/vite-… For now, this handle just simple AST and there's no closure encryption too. I wasn't sure if I can preserve sourcemap, but it looks like `MagicString.move` is working nice.

Experimenting with code transform for closure server action lifting github.com/hi-ogawa/vite-…
For now, this handle just simple AST and there's no closure encryption too. I wasn't sure if I can preserve sourcemap, but it looks like `MagicString.move` is working nice.
Hiroshi Ogawa (@hiroshi_18181) 's Twitter Profile Photo

Related to this Remix issue github.com/remix-run/remi…, I'm comparing how other "web handler" adapters do and it turned out they all look different github.com/hi-ogawa/repro… I wonder if this is something WinterCG needs to decide on.

Related to this Remix issue github.com/remix-run/remi…, I'm comparing how other "web handler" adapters do and it turned out they all look different github.com/hi-ogawa/repro…
I wonder if this is something WinterCG needs to decide on.
Hiroshi Ogawa (@hiroshi_18181) 's Twitter Profile Photo

Maybe something close to "Remix migration path" style RSC, experimenting my own take on Tanstack router. It seems the basic idea is not tied to underlying framework, so I might be able to extract just rsc fetching feature as independent plugin. github.com/hi-ogawa/exper…

Maybe something close to "Remix migration path" style RSC, experimenting my own take on Tanstack router.
It seems the basic idea is not tied to underlying framework, so I might be able to extract just rsc fetching feature as independent plugin.
github.com/hi-ogawa/exper…
Hiroshi Ogawa (@hiroshi_18181) 's Twitter Profile Photo

I made a few more hacky tricks for build, but hopefully it's running fine on Cloudflare now …router-rsc-demo.hiro18181.workers.dev/posts

I made a few more hacky tricks for build, but hopefully it's running fine on Cloudflare now …router-rsc-demo.hiro18181.workers.dev/posts
Hiroshi Ogawa (@hiroshi_18181) 's Twitter Profile Photo

It's cool that Tanstack router error boundary and server component just work since React simply replays errors on client. …router-rsc-demo.hiro18181.workers.dev/error But to actually integrate `throw redirect` etc..., I probably need to use flight server `onError` and custom Error.digest.

It's cool that Tanstack router error boundary and server component just work since React simply replays errors on client. …router-rsc-demo.hiro18181.workers.dev/error 
But to actually integrate `throw redirect` etc..., I probably need to use flight server `onError` and custom Error.digest.
Hiroshi Ogawa (@hiroshi_18181) 's Twitter Profile Photo

Experimenting with React PPR API - postpone (react) - prerender (react-dom/static.edge) - resume (react-dom/server.edge) ppr-experiment.hiro18181.workers.dev/?ppr Going straight into RSC integration seems too complicated, so I started with a bare minimal SSR demo github.com/hi-ogawa/exper…

Vue Fes Japan (@vuefes) 's Twitter Profile Photo

/ 📢 Vue Fes Japan 2025 スピーカー発表 第1弾!🔥 \ 今年の Vue Fes Japan 2025 も、豪華スピーカー陣をお迎えします! ➡️ Webサイトはこちら: vuefes.jp/2025/speaker 🔸 Evan You: Evan You 🔸 Daniel Roe: 🔸 Johnson Chu: Johnson Chu 🔸 Guillaume Chau: Guillaume Chau 🔸 橋本 麦: