ThreadSky
About ThreadSky
Log In
michlbrmly.dev
•
127 days ago
Anyone got a good counter argument?
https://www.olivare.net/blog/2023/death-to-default-exports
Comments
Log in
with your Bluesky account to leave a comment
[–]
schier.co
•
127 days ago
I don't like default exports either. It makes navigation and refactoring difficult if the imported name and definition name differ.
1
1
reply
[–]
michlbrmly.dev
•
126 days ago
I don't get why they are standardized in the React docs. I felt like I must be missing something.
0
1
reply
[–]
schier.co
•
126 days ago
The only thing I can think is that it nudges people to only put one exported component per file, which is required for hot module replacement to work properly.
0
reply
Posting Rules
Be respectful to others
No spam or self-promotion
Stay on topic
Follow Bluesky's terms of service
×
Reply
Post Reply
Comments