DEV Community

Cover image for Storyblok React SDK – now with TypeScript support πŸŽ‰
Facundo Giuliani for Storyblok

Posted on

4

Storyblok React SDK – now with TypeScript support πŸŽ‰

Are you a React developer? We have great news for you: Storyblok's React SDK now comes with TypeScript support! πŸ™Œ
You will be able to add typing to your React projects, while having an even better developer experience connecting to Storyblok.

➑️ Do you want to see it in action? Take a look at this Storyblok React SDK w/ TypeScript live demo!

With the new version of Storyblok's React SDK, you get auto-completion, static typing and warnings in case something doesn’t add up, even if you are not using TypeScript yourself!

Look at this example:

Adding TypeScript to a React file

Do you need help implementing TypeScript in your React project? Take a look at the official TypeScript and React documentation or this guide by Kent C. Dodds explaining how to write a React component with TypeScript.

➑️ If you want to learn how to integrate Storyblok into your React project, you can follow our 5 minutes guide to implementing React with Storyblok.

➑️ Are you using a React based framework? We have you covered, too! We have 5 minutes tutorials for Next.js, Gatsby, and Remix!

At Storyblok, we're working in order to roll out TypeScript support for all our SDKs. Vue and Svelte SDKs already support TS, more will be updated soon!

We would love to hear what you think. What do you like about it? What could be improved? Please, share your comments! ⬇️

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here β†’

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay