Importing constants not working #51
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MichaelContento/redux-storage#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the README's "Actions" example:
Importing the constants in this way doesn't work as they are exposed as properties of the default export object, rather than as named exports.
I've gotten around this with something like:
We could either:
What do you think?
Thank you for reporting this!
It broke with switching from babel@5 to babel@6 (more details) 😢
But I've been able to:
import * as storage from 'redux-storage'for full importsimport storage from 'redux-storage'A new version (
v1.3.4) is already published to npm 🚀Awesome 🎉
Thanks for providing such a comprehensive solution!