import RA default export doest not works
See original GitHub issuedefault export seems to not works like ramda
does.
import RA from 'ramda-adjunct' // RA is undefined
import R from 'ramda' // R is OK
import * as RA from 'ramda-adjunct' // RA is OK
import * as R from 'ramda' // R is OK
I don’t understand why, maybe need to investigate https://github.com/ramda/ramda/blob/master/.babelrc
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:16 (7 by maintainers)
Top Results From Across the Web
Why is import/export statement not working? - Stack Overflow
The way you are importing works only with default export/import. So there are two ways you can fix your code: changing the import...
Read more >Named exports with export default is not working #182 - GitHub
I'm using @std/esm on my app and I have an issue to report. The sample of the issue is very simple: // dependency.js...
Read more >Export default was not found Error in JavaScript | bobbyhadz
The "export default was not found" error occurs when we try to import as default from a module that doesn't have a default...
Read more >export - JavaScript - MDN Web Docs
This re-exports all named exports from mod as the named exports of the current module, but the default export of mod is not...
Read more >Avoid ES6 default exports - Rajesh Naroth - Medium
There are times you will need to use default exports such as when you have to do code splitting. const ItemsContainer = React.lazy(()...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Like @Andarist said :
So now that consistency issues between
ramda
andramda-adjunct
are fixed, it’s ok to me.Because we looking for consistance between
RA
andRamda
, I think we should export default too.