Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Rename 'rest' to 'unhandledProps' #176

Closed
hughreeling opened this issue Sep 3, 2018 · 1 comment
Closed

Rename 'rest' to 'unhandledProps' #176

hughreeling opened this issue Sep 3, 2018 · 1 comment
Labels
vsts Paired with ticket in vsts

Comments

@hughreeling
Copy link
Contributor

From Levi:
rest is carryover from Semantic UI React. It came from doing const { size, ...rest } = this.props. However, since it is really the return of getUnhandledProps, it probably makes sense to call it unhandledProps. This is also pretty clear as to what it is.

@levithomason
Copy link
Member

See #176

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
vsts Paired with ticket in vsts
Projects
None yet
Development

No branches or pull requests

3 participants