Pooya Parsa
@pi0.io
4.4K followers 700 following 330 posts
Building opensource stuff ◦ @unjs.io ◦ @nitro.build ◦ @nuxt.com 🌱 github.com/pi0 ❌ x.com/_pi0_
Posts Media Videos Starter Packs
Reposted by Pooya Parsa
thealexlichter.com
Heck yeah! The @nitro.build v3 beta is out now. And Nitro is now just a @vite.dev plugin 👀

Kudos to all contributors, @unjs.io, and @pi0.io 🙌🏻
Slide showing the nitro docks and „ship full stack Vite apps“
Reposted by Pooya Parsa
thealexlichter.com
Finally, we got PHP in JavaScript! 👀
pi0.io
Coolest part: LLMs understood the syntax instantly! No explanation needed; most completions were single-shot correct.

Turns out, using familiar patterns (PHP-like + Web API) really pays off.
pi0.io
Introducing Rendu: JavaScript Hypertext Preprocessor

Not just a template engine — Rendu bridges SPA and SSR using modern Web APIs with multi-streaming and async support.
Reposted by Pooya Parsa
markus.oberlehner.net
Reverse JSX? Instead of HTMLish syntax in JS, JSish syntax in HTML 🤭
pi0.io
Introducing Rendu: JavaScript Hypertext Preprocessor

Not just a template engine — Rendu bridges SPA and SSR using modern Web APIs with multi-streaming and async support.
pi0.io
Haha, I LOVE this line 😀
pi0.io
What if I told you your Vite SPA could do partial server-side rendering and streaming? 😌

Let’s talk about how. 👇 (1/1)
pi0.io
Coolest part: LLMs understood the syntax instantly! No explanation needed; most completions were single-shot correct.

Turns out, using familiar patterns (PHP-like + Web API) really pays off.
pi0.io
Introducing Rendu: JavaScript Hypertext Preprocessor

Not just a template engine — Rendu bridges SPA and SSR using modern Web APIs with multi-streaming and async support.
pi0.io
Introducing Rendu: JavaScript Hypertext Preprocessor

Not just a template engine — Rendu bridges SPA and SSR using modern Web APIs with multi-streaming and async support.
pi0.io
Express has proven to be simple and reliable. It’ll never die just like good old PHP 😁
pi0.io
jhp-fpm? :))
pi0.io
<?= is shorthand for <? echo 😁
pi0.io
Only now there is no framework just good HTML and JS 😁
pi0.io
But why? I mean what can go wrong for simple dynamic pages?
pi0.io
Too late 😂
pi0.io
Lets make old, the new 😄
pi0.io
@juliangruber.bsky.social, would you donate npmjs.com/jsp ? 😅 I will make it happen!
pi0.io
JS pro tip: Add { cause } to errors. Makes debugging and inspection way easier 🔍

developer.mozilla.org/en-US/docs/W...
pi0.io
So obsessed with keeping H3Core’s bundle small. It’ll grow over time with more features, so now’s the best chance to make the baseline tiny (currently: 7.5 kB /3 kB gzip).
pi0.io
H3.dev now natively supports { fetch } handler format.

This means you can plug in any web-compat framework (like @hono.dev or @elysiajs.com with @nitro.build’s filesystem routing out of the box 🤝

Standards + interop FTW! ❤️