Skip to content
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

Remove unused state initialValue from ReactDOMFiberSelect #13412

Merged

Conversation

kartiklad
Copy link
Contributor

Ref: #13410

As per the issue, select._wrapperState.initialValue is unused and never referenced anywhere else in the code.

I did some investigation after removing initialValue from the codebase by running the fixtures for react-dom and tried using Select with all the feature combinations and it seems like we can safely remove the key initialValue from the state of the select component.

@nhunzaker
Copy link
Contributor

Awesome, thank you! I'll take a second pass in the morning and merge.

Thanks for sending this out!

@nhunzaker
Copy link
Contributor

Perfect. Thank you!

@nhunzaker nhunzaker merged commit cb7745c into facebook:master Aug 16, 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.

3 participants