Hello friends,
Since you’re here, I assume you’d like to enable TypeScript with the Sitecore JSS application. It’s easy and simple.
We can say that ‘TypeScript is like JavaScript, but with types.’ It helps make our code easier to read and avoid errors that could become debugging nightmares.
Here are a few of the advantages of TypeScript:
- Great tooling support with IntelliSense
- The ability to compile down to a version of JavaScript that runs on all browsers
- Typescript is purely object-oriented programming which means it is a programming paradigm based on the concepts of objects.
- One of the biggest advantages of Typescript is its code completion and intelligence.
In order to enable TypeScript with Sitecore JSS application, see the video tutorials below:
TypeScript with Sitecore JSS – Part – 1:
TypeScript with Sitecore JSS – Part – 2:
To stay updated, like and subscribe to my YouTube channel for more Sitecore tutorials.
[Source references]:
While creating my videos, I referenced two good blog posts from the Sitecore community:
- https://gary.wenneker.org/sitecore-jss-get-typed/
- https://www.sergevandenoever.nl/sitecore_jss_typescript/
- Also, Umbrella for Sitecore JSS project was of great help when I faced some challenges with the boilerplate JSS application. Once you follow my Typescript with Sitecore JSS video tutorials, then you will be prepared to expand your knowledge with Umbrella for Sitecore JSS project.
Happy Coding!