Sent on 2026-04-28
Hey devs,
This week, many TanStack libraries are getting new APIs that significantly expand their use cases.
The latest TanStack AI update introduces
the new function
generateAudio.
This is a new provider-agnostic API that allows you to generate music in 3 lines of code:
const result = await generateAudio({
adapter,
prompt: 'A cinematic orchestral piece with a rising string motif',
})
The update also introduces other helper functions, e.g., for streaming, and supports major providers like Gemini and Fal.
Check out the announcement blog here: https://tanstack.com/blog/tanstack-ai-audio-generation
The API of TanStack Store has just received a complete overhaul.
With this update come the
new functions that we know from popular
state management libraries, such as
useAtom,
useStore, and
useSelector.
Kevin Thomas Van Cott explains the new functions in detail in his X thread: https://x.com/KevinVanCott/status/2045550292113010887
Jack Herrington shares 5 ways of using the new Server Components in TanStack Start.
This opens the door to weaving in and out of the server and offers even more flexibility.
Watch the full video here: https://www.youtube.com/watch?v=PX3QlADinIE
Jackson de Campos shares his findings after switching from React Router to TanStack Router.
The result? Drastically less re-rendering.
For more details about the experiment, check out the X post: https://x.com/jacksondecampos/status/2047402086967763256
Thanks for reading this issue of TanStack Weekly. If you have feedback or interesting TanStack news, feel free to reply to this email.
Until then,
Josef Bender
YouTube | JB | X | TanStack Weekly | Learn TanStack Start | Unsubscribe | Submit Content
P.O. Box 600221, 22202 Hamburg, Germany
Join developers already getting the best TanStack content.
No spam, unsubscribe anytime.