Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Introducing TanStack Redact 🌴 A smaller runtime for your existing React app. Add it to your build config and ship less JavaScript without changing a single line of application code. Works with TanStack Start, Vite, Vinext, and Next.js.

167,968 görüntüleme • 1 gün önce •via X (Twitter)

32 Yorum

TANSTACK profil fotoğrafı
TANSTACK1 gün önce

Our starter apps saved 47.0 KB with Start, 48.1 KB with Vite, 39.3 KB with Vinext, and 35.7 KB with Next.js. All emitted client JS + CSS, gzip, compared with React. Start and Vite can go smaller by disabling unused features.

TANSTACK profil fotoğrafı
TANSTACK1 gün önce

Vinext and Next.js support both App Router and Pages Router, with React on the server and Redact in the browser. Redact renders synchronously, without React’s time slicing.

TANSTACK profil fotoğrafı
TANSTACK1 gün önce

Redact started as a smaller React runtime for our own sites. We kept using it, and other people put it in production too. Tanner wrote about how it started and why we’re maintaining it:

Pablo Manjarres profil fotoğrafı
Pablo Manjarres1 gün önce

free lunch energy

⚡️ profil fotoğrafı
⚡️1 gün önce

Results after adding this to my Tanstack Start based application Pretty impressive! Great job guys 🙌

Ron profil fotoğrafı
Ron1 gün önce

Preact energy

Pema Wangchuk profil fotoğrafı
Pema Wangchuk1 gün önce

_react.default.captureOwnerStack is not a function

Mauricio profil fotoğrafı
Mauricio1 gün önce

Just use Soldid...

Aaron Villalpando profil fotoğrafı
Aaron Villalpando1 gün önce

Hows this work when you use eval

Pratham profil fotoğrafı
Pratham1 gün önce

@bot, send this to the Foreman and tell it to add this to the PR Agent's site and give me a before-and-after comparison with the PR.

vblinden profil fotoğrafı
vblinden1 gün önce

Wild! Less JS without touching app code. I will try this on one of my Next.js projects this week!

Arne Wiese profil fotoğrafı
Arne Wiese1 gün önce

Any known issues? Can I ship this to prod? 😂

Aziz Becha profil fotoğrafı
Aziz Becha1 gün önce

We weren't ready for this!

Arne Wiese profil fotoğrafı
Arne Wiese1 gün önce

Is @base_ui (shadcn) supported?! This the only react “lib“ I’ll actually use

phen profil fotoğrafı
phen1 gün önce

Tried on a real Next.js 16.4 project. It throws at { renderToStaticMarkup } from "react-dom/server" with React version mismatch.

Jeff Reek profil fotoğrafı
Jeff Reek1 gün önce

@grok how does this work?

laurent lahmy profil fotoğrafı
laurent lahmy1 gün önce

Wow 🤯

Itay profil fotoğrafı
Itay1 gün önce

@tannerlinsley Really nice.

Scott Corgan profil fotoğrafı
Scott Corgan1 gün önce

@bot is there any benefit we could get in our apps from this?

Jubayer profil fotoğrafı
Jubayer1 gün önce

We have an old big project on Next.js 14. Will definitely try on that and share the result. I myself tried to optimize and minimize the JS bundle as much possible. Now, let's see if Redact can help on top of that!

Harry 🐺 profil fotoğrafı
Harry 🐺1 gün önce

Fantastic name btw

Nitesh ₿⚡️ profil fotoğrafı
Nitesh ₿⚡️1 gün önce

What magic is this?

Aluminate profil fotoğrafı
Aluminate1 gün önce

@grok so this is like react but bundles less JavaScript and still gives same performance and output?

Boardy profil fotoğrafı
Boardy1 gün önce

know a react and next.js engineer whose whole thing is cutting js bundle size and he's shipping his own app right now. couldn't get a dm through but i can make the intro

Dirk Beukes profil fotoğrafı
Dirk Beukes1 gün önce

@grok explain how this works technically

Rémi Wg 👉 nextjs-boilerplate.com profil fotoğrafı
Rémi Wg 👉 nextjs-boilerplate.com23 saat önce

Slow down a little 😅 We can’t keep up with all your awesome libraries:

Sandeep Miriyala profil fotoğrafı
Sandeep Miriyala1 gün önce

Any support for next js .

Yaroslav Slepukhin profil fotoğrafı
Yaroslav Slepukhin1 gün önce

rspack/rsbuild when?

Vishal Kacha profil fotoğrafı
Vishal Kacha1 gün önce

Nice.

MisterJoss profil fotoğrafı
MisterJoss1 gün önce

TanStack no falla: Query, Router, Start y ahora Redact. Recortar runtime sin tocar una sola línea de tu app es justo la dirección que necesita el ecosistema: menos JS enviado, misma experiencia. Lo probaré en cuanto pueda.

Laura🫣 profil fotoğrafı
Laura🫣1 gün önce

the whole point of react is shipping less to the browser and every framework keeps pretending tree shaking is enough so this actually feels like the first honest solution in a while

totewi profil fotoğrafı
totewi1 gün önce

@bot revísalo por favor

Benzer Videolar