4 ms·
Default export itself isn’t the misfeature. Mixed named/default exports is. There are several use cases/patterns where a single export is common (though because
by eyelidlessness 5y ago
Default export itself isn’t the misfeature. Mixed named/default exports is. There are several use cases/patterns where a single export is common (though because of the same concerns you raise, and others, I tend to use a single named export anyway).