Video yükleniyor...
Video Yüklenemedi
⚛️ React Tip: Clean up your code by using absolute imports + module aliases ↓
137,135 görüntüleme • 3 yıl önce •via X (Twitter)
10 Yorum

Hey there 👋, Friendly reminder that I have more than 100 infographics and video animations just like this one. Check them out ↓

That smooth animation in your content is very attractive!

Glad you liked it Amit! :)

How the fuck is this a react tip? This is literally a Typescript functionality Tbf if any react dev finds any of those tips useful i will never believe they know what they are doing.

Not sure if the aliasing will be good. Like I can't click on the import to open the file and see the code when I use the aliasing. Also not sure if it will give me intellisense for the component path 😕

You can configure both!

This is really great. Can you tell how to create this type of animation? Any tool for it?

It's better if you only have one root alias, like so: "@/*": ["./*"]

Hi George, which file are we adding the module aliases rule to?

@____bajomo sorry I didn't reply earlier but should be tsconfig.json/jsconfig.json
Benzer Videolar
AN ABSOLUTE SEED AT 145.1 KMPH BY ALI RAZA TO CLEAN UP WARNER. 🥶
Sheri.
96,277 görüntüleme • 4 ay önce
