Vuejs and TypeScript- Working Together like Peanut Butter and Jelly
What do you do when your favorite JavaScript library lacks TypeScript support? Learn a practical methodology for adding type safety to any dependency.
#1about 4 minutes
Understanding Vue.js and its place among modern SPA frameworks
Vue.js is a developer-friendly SPA framework that compares favorably with React and Angular through its component-based architecture and single-file components.
#2about 8 minutes
How TypeScript improves code quality with optional type hints
TypeScript acts as a superset of JavaScript, adding optional type hints at design time to help developers catch errors and understand function signatures faster.
#3about 6 minutes
Setting up a Vue project with TypeScript and Vuetify
A new Vue project can be configured with TypeScript support using the Vue CLI, but integrating a JavaScript library like Vuetify requires adding its type definitions.
#4about 7 minutes
Using type casting to fix issues with component refs
When TypeScript doesn't know the type of a component reference, you can use the `as` keyword to cast it to a specific interface, enabling type-safe method calls.
#5about 6 minutes
Creating custom type declarations for JavaScript libraries
For libraries without built-in types, you can create a custom `.d.ts` file to declare the module and its functions, or preferably install an existing `@types` package from DefinitelyTyped.
#6about 5 minutes
Generating a declaration file from existing JavaScript source
The TypeScript compiler can automatically generate a basic declaration file from a JavaScript file using the `--declaration` flag, providing a starting point for manual refinement.
#7about 4 minutes
A ranked summary of strategies for JS library integration
A prioritized list of techniques for using JavaScript libraries includes using built-in types, installing from DefinitelyTyped, crafting custom declarations, and using casting as a last resort.
#8about 2 minutes
Deciding when to use or avoid TypeScript in Vue
TypeScript is ideal for long-lived projects with team communication needs but may be counterproductive if the project relies heavily on JS libraries without type definitions.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
02:11 MIN
Understanding the power and popularity of TypeScript
End-to-End TypeScript: Completing the Modern Development Stack
03:18 MIN
The benefits of using TypeScript with Svelte
Svelte ♥ TypeScript and so will you
01:38 MIN
How to convince your team to adopt TypeScript
4 Steps from JavaScript to TypeScript
02:37 MIN
Understanding TypeScript's origins and role in scalability
All you need is types
01:56 MIN
Exploring the key benefits of adopting TypeScript
Do TypeScript without TypeScript
03:47 MIN
Why TypeScript is essential for building large applications
Building a large, complex product from the ground up with typescript & Atomic Design:lessons learned
03:51 MIN
Accelerating development with a reusable Vue.js template
Navigating the Corporate Jungle: Life as a Developer in a large Company
07:14 MIN
Why readable code and developer happiness trumped TypeScript
What is TypeScript?Since Angular 2 at the latest, TypeScript has been known to many. But what exactly can you do with it, and is it worth changing?Anyone who has worked with programming languages such as Java or C# before will have noticed that JavaScript allows a su...
Chris Heilmann
WeAreDevelopers LIVE days are changing - get ready to take partStarting with this week's Web Dev Day edition of WeAreDevelopers LIVE Days, we changed the the way we run these online conferences. The main differences are:Shorter talks (half an hour tops)More interaction in Q&AA tips and tricks "Did you know" sect...
The Best Upcoming IT WebinarsNow that you already know what IT webinars are and how they can help you level up your professional appeal, you might want actually to get into one. Live tech webinars are one of the best ways to stay on top of the latest trends and tools because eit...
From learning to earning
Jobs that call for the skills explored in this talk.