We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/sebmarkbage/ecmascript-rest-spread/blob/master/Rest.md
Currently, we are breaking this rule on some component props destructuring:
let { ...x, y, z } = obj; // syntax error
The components are:
The solution is probably as simple as changing this:
const Feature = ({ icon, title, link, children, ...props, soon }) => {
to this:
const Feature = ({ icon, title, link, children, ...props }) => { const { soon } = props
I'll leave this issue here for a while for the case of someone wants to contribute.
The text was updated successfully, but these errors were encountered:
What does produce ?
Does it :
soon
props
props.soon
Sorry, something went wrong.
make soon available as variable but, does not extract soon from props (so props.soon exists) ?
Exactly. This is currently possible with Babel, but isn't in the spec, so might break in the future.
Maybe just changing references from too to props.too should be more elegant. I don't know, only IconButton has many variables after props.
too
props.too
Fix object rest destructuring in Button (missing in #68)
4bb7ca9
No branches or pull requests
https://github.com/sebmarkbage/ecmascript-rest-spread/blob/master/Rest.md
Currently, we are breaking this rule on some component props destructuring:
The components are:
The solution is probably as simple as changing this:
to this:
I'll leave this issue here for a while for the case of someone wants to contribute.
The text was updated successfully, but these errors were encountered: