Polski frontend

Piotr Nalepa – Blog webmasterski | Tutoriale JavaScript, CSS i nie tylko

Is using default exports considered a bad practice? Here’s why!

When writing React apps or modern JavaScript in general, we often create files with a set of reusable functions or classes. People tend to use default exports in such cases and I'm going to explain, why it's not the best idea to use them. What is a default export? The origin of default exports comes […]