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

Facundo Giuliani - Jun 23 '22 - - Dev Community

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! ⬇️

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .