Loading video...

Video Failed to Load

Go Home

⚛️ How to keep you imports tidy and clean in React ↓

45,559 views • 2 years ago •via X (Twitter)

10 Comments

George Moller's profile picture
George Moller2 years ago

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

Qaiyyum Hakimi's profile picture
Qaiyyum Hakimi2 years ago

What do you use the create the animation? Thats smooth 👍

franks 🇦🇷's profile picture
franks 🇦🇷2 years ago

Hi George! From React v18, you shouldnt need to explicitely import React module. Regards!

Oleg | Front-End Architecture's profile picture
Oleg | Front-End Architecture2 years ago

As an alternative for prettier folks From the Architecture standpoint it's better not to mix eslint conversations and formatting

Glody mbutwile's profile picture
Glody mbutwile2 years ago

import BestPractice from 'clean/code';

George Moller's profile picture
George Moller2 years ago

@gappalchemist

Pavel Romanov's profile picture
Pavel Romanov2 years ago

This one is really good. I’ve been struggling with imports order lately and it looks like something that can help. Thank you 🙏

George Moller's profile picture
George Moller2 years ago

I really like having imports sorted this way, is way easier to find the import that you are looking for, give it a try!

Rahul Kumar's profile picture
Rahul Kumar2 years ago

What's you view on absoutes imports vs baseUrl imports?

George Moller's profile picture
George Moller2 years ago

I use absolute imports and module path aliases

Related Videos