Skip to content

Remove object assign #1435

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

Merged
merged 3 commits into from
Jul 11, 2018

Conversation

interactivellama
Copy link
Contributor

@interactivellama interactivellama commented Jun 26, 2018

Fixes #1434

Additional description

Replaces object.assign with ES6 spread


Pull Request Review checklist (do not remove)

  • npm run lint:fix has been run and linting passes.

@interactivellama interactivellama requested review from futuremint and removed request for davidlygagnon July 5, 2018 20:19
onSelect={(event, data) => {
console.log('onSelect', data);
this.setState({ selection: data.selection });
}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal of this code doesn't look related to Object.assign.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Snapshots don't need events.

Copy link
Contributor

@futuremint futuremint left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

codebase-overview.md still has a mention of Object.assign in it. Should we remove that one?

@futuremint futuremint merged commit f0698aa into salesforce:master Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Object.assign
2 participants