-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Descructuring with spread operator (immutable.js) #10
Comments
Thank you, I'll see to it. |
well, I thought about this a little, and it seems to me, it's far from clear, what semantics should 'extensible spreading' have. Given that Map
be? It should probably be js object, but what about the values in Another problem I see is, that such proposal would require more patching (defining just |
I think that should be jsified only first level of Map |
What about spreading an Immutable Record? I was sort of expecting it to work because |
@jonathanj i'm not so sure. an |
I can confirm that it's not working. However, the "toJS"-way seems a (temporary) patch. |
For example:
not work. Need to do
baz(...foo().toJS())
The text was updated successfully, but these errors were encountered: