PodRocket - A web development podcast from LogRocket cover image

SolidStart with Ryan Carniato

PodRocket - A web development podcast from LogRocket

00:00

Using TypeScript, You Can Easily Streamline Your Data Fetching Scripts

In TypeScript, you can basically wrap any function and then get a function back. If you call that function from the client, it kind of masks an Ajax or API call in the background. And what's really cool about this mechanism is you don't worry about paths or any of that kind of stuff. You literally just have a function you call that you can type for example. It just communicates across the client and server. That way you can actually, as I said, functional composing, upgrade any library already in the solid ecosystem.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app