TanStack Weekly
SponsorPrevious Issues
Previous

#12: Generate Music with TanStack AI, New Atoms, and SSR.

Sent on 2026-04-28

Hey devs,

This week, many TanStack libraries are getting new APIs that significantly expand their use cases.



Your TanStack app can compose music now, with a pink equalizer graphic below the text.

Generate Music with TanStack AI

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



TanStack Store logo on a blurred background.

Atoms in TanStack Store

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



A man with red hair and a plaid shirt ponders while looking at a graphic that says "5 SSR/RSC Methods" with the TanStack

5 Ways To SSR/RSC on TanStack Start

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



Table showing performance metrics for different navigation tests on Apple Silicon, with columns for Test, Variant, RR, TSR, and Ratio.

TanStack Router Outperforming React Router

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

Previous

Join Newsletter

Join developers already getting the best TanStack content.

No spam, unsubscribe anytime.