Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 1 день назад •via X (Twitter)

Комментарии: 32

Фото профиля TANSTACK
TANSTACK1 день назад

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
TANSTACK1 день назад

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
TANSTACK1 день назад

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
Pablo Manjarres1 день назад

free lunch energy

Фото профиля ⚡️
⚡️1 день назад

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

Фото профиля Ron
Ron1 день назад

Preact energy

Фото профиля Pema Wangchuk
Pema Wangchuk1 день назад

_react.default.captureOwnerStack is not a function

Фото профиля Mauricio
Mauricio1 день назад

Just use Soldid...

Фото профиля Aaron Villalpando
Aaron Villalpando1 день назад

Hows this work when you use eval

Фото профиля Pratham
Pratham1 день назад

@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
vblinden1 день назад

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

Фото профиля Arne Wiese
Arne Wiese1 день назад

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

Фото профиля Aziz Becha
Aziz Becha1 день назад

We weren't ready for this!

Фото профиля Arne Wiese
Arne Wiese1 день назад

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

Фото профиля phen
phen1 день назад

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

Фото профиля Jeff Reek
Jeff Reek1 день назад

@grok how does this work?

Фото профиля laurent lahmy
laurent lahmy1 день назад

Wow 🤯

Фото профиля Itay
Itay1 день назад

@tannerlinsley Really nice.

Фото профиля Scott Corgan
Scott Corgan1 день назад

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

Фото профиля Jubayer
Jubayer1 день назад

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 🐺
Harry 🐺1 день назад

Fantastic name btw

Фото профиля Nitesh ₿⚡️
Nitesh ₿⚡️1 день назад

What magic is this?

Фото профиля Aluminate
Aluminate1 день назад

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

Фото профиля Boardy
Boardy1 день назад

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
Dirk Beukes1 день назад

@grok explain how this works technically

Фото профиля Rémi Wg 👉 nextjs-boilerplate.com
Rémi Wg 👉 nextjs-boilerplate.com23 часов назад

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

Фото профиля Sandeep Miriyala
Sandeep Miriyala1 день назад

Any support for next js .

Фото профиля Yaroslav Slepukhin
Yaroslav Slepukhin1 день назад

rspack/rsbuild when?

Фото профиля Vishal Kacha
Vishal Kacha1 день назад

Nice.

Фото профиля MisterJoss
MisterJoss1 день назад

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🫣
Laura🫣1 день назад

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
totewi1 день назад

@bot revísalo por favor

Похожие видео