Skip to content

Conversation

@empyrical
Copy link
Contributor

This removes the use of the legacy context API in TextInput.

Nothing in OSS appears to make use of the focusEmitter.

Test Plan:

Flow and ESLint has been ran. No regressions have been noticed in RNTester

Changelog:

[General] [Removed] - TextInput: Removed use of legacy context API

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 9, 2018
@pull-bot
Copy link

pull-bot commented Nov 9, 2018

Warnings
⚠️

📋 Release Notes - This PR appears to be missing Release Notes.

Generated by 🚫 dangerJS

Copy link
Contributor

@RSNara RSNara left a comment

Choose a reason for hiding this comment

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

Nice! Is this all just dead code?

@empyrical
Copy link
Contributor Author

It appears to be! Neither me or @TheSavior were able to find any uses for this. But he suggested that the removal of this be done as its own separate diff, in case there was dependant code that got looked over.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@RSNara has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

@empyrical merged commit 94456ed into facebook:master.

@facebook facebook locked as resolved and limited conversation to collaborators Dec 26, 2018
@react-native-bot react-native-bot added the Merged This PR has been merged. label Dec 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Component: Text Component: TextInput Related to the TextInput component. Merged This PR has been merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants