Skip to content

Conversation

@Xazzzi
Copy link
Contributor

@Xazzzi Xazzzi commented Jan 3, 2019

When children of decorated component happen to have nested arrays in them:

[
el1,
[el2, el3],
el4,
]

linkClass.js:86 unfreezeObject will unfreeze only 1 level in depth (i.e. first array, but not nested one), leading to TypeError: cannot assign to readonly property 0.
This PR should fix it by checking if array passed to linkArray recurse call is frozen, unfreezing if necessary.

@gajus gajus merged commit 4d6a71e into gajus:master Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants