Skip to content

Conversation

@zigzagdev
Copy link
Owner

Spread operator is called in Japanese バケツリレー. This means when you pass the value, to son you have to pass it through children absolutely because of the React rules.

So, if you want to pass it to son component, you can use it. Then these objects can't marge automatically. Therefore, compose these in your current component and pass it correctlly.

@zigzagdev zigzagdev merged commit 8d37569 into main Mar 16, 2021
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