As part of our Strapi 5 Launch Week, we’re unveiling exciting new features each day. On Monday, we introduced the Draft & Publish and Content History features, giving more control over content management. On Tuesday, we highlighted Developer Experience improvements to enhance the developer workflow. On Wednesday, we focused on Performance and Type Safety with Vite and TypeScript.
This is a companion discussion topic for the original entry at https://strapi.io/blog/launchpad-demo-app
One question that came up when checking the demo app: you are fetching data using REST there. Is there a specific reason for that? What API type is more supported by the Strapi team? You are writing about full typescript support, but are losing the complete types by using REST? What is the reason behind that?
It would be nice to have the documentation updated!
We are in the process of working on Strapi SDK, which will allow you to have access to the types in the future.
Currently, the workaround with REST is found in the following post. Improve Your Frontend Experience With Strapi Types And TypeScript
This is an example using Strapi 4, but the principles apply.
Thank you for your feedback. Are you specifically talking about Launchpad? What specific recommendation would you like us to make?
Strapi SDK, is it intended for working with our project’s frontend? Is it for extending Strapi itself or creating plugins?