thetejasmagade Profile Banner
Tejas Magade 🌡 Profile
Tejas Magade 🌡

@thetejasmagade

Followers
9
Following
1K
Media
21
Statuses
171

In love with Java and JavaScript πŸ’š Programmer / Developer, Tweets about Programming and Web Development, Learning new Things πŸ––πŸ––

Mumbai, IN
Joined August 2022
Don't wanna be here? Send us removal request.
@thetejasmagade
Tejas Magade 🌡
2 years
Hello πŸ‘‹, @MichaelThiessen .Suppose, I'm having an 12 components and I want to show them conditionally. Then How should I optimize it and reduce the lines of code in vue 3?. #vuejs.
1
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
Do you know?.If you are having lot of props or events passing to the component and because, of that your code is getting unwieldy and difficult to manage then you can do this βœ…βœ…. #vue3 #vuejs #javascript #typescript
Tweet media one
0
0
0
@grok
Grok
3 days
Join millions who have switched to Grok.
178
201
2K
@thetejasmagade
Tejas Magade 🌡
2 years
I'll share my journey as a beginner so, please! consider to follow. Will growww πŸͺ΄ together.
0
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
I'm finally starting to work on my first SaaS project! ❀️ Guys, please suggest which framework or language I should use for the backend. I'm considering Go with Gin. What do you suggest?. #buildinpublic #buildinginpublic #SaaS.
1
0
2
@thetejasmagade
Tejas Magade 🌡
2 years
Learn how you can generate Typescript interfaces from JSON on VS Code #typescript #javascript.
dev.to
Learn how you can generate Typescript interfaces from JSON on VS Code
1
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
Why java packages are used?. 1. To separate the classes. Like authentication related classes stored in authentication package. 2. Helps to improve the security by access modifiers. 3. To remove naming conflicts. There are lot of things but these are common. #java #LearnToCode.
0
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
Here are the linksπŸ”—πŸ“·. joshwcomeau Blog: Dmitri Pavlutin Blog: . Thanxxxxx me later. .
Tweet card summary image
dmitripavlutin.com
Dmitri Pavlutin Blog is a place to learn about JavaScript, CSS, React, Vue and more on Frontend development
0
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
πŸš€ Elevate your coding skills! . πŸ“š Explore insightful blogs by @DmitriPavlutin and @JoshWComeau for expert guidance on React, TypeScript, Vue, and JavaScript. πŸŒπŸ’‘ Dive into the world of clean code and best practices! πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’». #React #TypeScript #VueJS #JavaScript #CodingWisdom.
1
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
Use the `unknown` Type Before Defaulting to `any` πŸ€”. Use `unknown` type when a variable can have various types, and you need to perform type-checks before using it to ensure safety:.It can be used when you don't know what response is receiving from API. #typescript #javascript
Tweet media one
0
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
Ever wonder how to handle different data types in #TypeScript? Like, what if declared variable can be string or number then solution isπŸ€”Union Types! 🀯 Combine multiple types with the '|' operator. πŸš€
Tweet media one
0
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
1. Let's say you want to run some code right after an actor finishes their first scene (render). 2. You create a custom hook called "useDidFinishFirstScene.".3. Any actor who uses this hook will automatically perform those actions after their first render.
Tweet media one
0
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
Want more control over your component's lifecycle? Custom hooks let you define custom lifecycle methods to execute logic at specific stages. #React #javascript #ReactHooks #Lifecycle. In simple words πŸ‘‡.
1
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
So, what is "memoization" or "memoisation"❓. In computing, memoization is an optimization technique used primarily to speed up computer programs by storing the results of expensive function calls to pure functions and returning the cached result when the same inputs occur again.
0
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
Why there is useMemo() hook in React and computed() composable in Vue used❓. The simple answer is to achieve "memoization" or "memoisation". #reactjs #vuejs #javascript #typescript #webdeveloper.
1
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
Memory leaks giving you headaches 🀯? Fear not, Vue devs! Here's a pro tip to keep your apps leak-free and lightning fast ⚑:. #vuejs #javascript #typescript #webdeveloper
Tweet media one
0
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
Java Tip πŸš€: Meet the Elvis Operator (Java 14+), not the King, but just as cool! Simplify null checks like never before with '?'. Elegant, concise, and a game-changer! 🎸🀘.#java #Java14 #ElvisOperator #CodeSimplification
Tweet media one
0
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
Instead of Object Type or Index Signature, is there any other way to define object types?.Yessssss πŸ’― we can use Record<K, V> type. Nice blog post: #typescript #javascript
Tweet media one
0
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
How to Handle optional object properties in typescript?. Nullish coalescing (??) Operator helps to do that. #javascript #typescript #jstips
Tweet media one
0
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
πŸ’‘Embrace the nullish coalescing operator:. a ?? b returns b only if a is null or undefined. Say goodbye to nested if statements for handling null checks! .#typescript #javascript #learning
Tweet media one
0
0
0
@thetejasmagade
Tejas Magade 🌡
2 years
🌐 Dive into JavaScript closures: create functions within functions! πŸ”„πŸ“ When an inner function has access to variables from its outer function, voila β€” you've just crafted a closure. πŸ”βœ¨ Use closures for data encapsulation, private variables, and cleaner code! πŸš€πŸ’».#JavaScript
Tweet media one
0
0
0