Changed all component child lists to arrays instead of objects #2477
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Udpated the docs to match. This is a necessary change because object key order is not consistent in Chrome and children have a specific order. Somehow this hasn't actually affect us yet. But also there's not an easy way to insert a child into a specific spot in the order if it's an object.
The biggest issue here is that player children has been changed to an array. This would break anywhere that previously used
Child options will no longer merge when they're under the children key, because children is now an array by default that will simply be overwritten by the new children object when options are merged.
You instead do:
I know this is important but also don't have a good grasp of the significance, in case anyone else has any additional input. If we think it's really significant we can look into a patch or reconsider.