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

Deprecate injecting custom event plugins #11690

Merged
merged 5 commits into from
Nov 29, 2017

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Nov 28, 2017

It's time we do this IMO. See #11689.

Internally I plan to fix up the remaining five or so callsites by hand.
In any case, the ecosystem should migrate earlier since it's a trail of dependencies.

Copy link
Collaborator

@sophiebits sophiebits left a comment

Choose a reason for hiding this comment

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

I guess lowPriorityWarning doesn't support blacklisting? We could also monkeypatch console.warn where we inject in FB which is probably cleaner.

@gaearon
Copy link
Collaborator Author

gaearon commented Nov 28, 2017

I can also just change how we do this for FB to (temporary) static injection. I wanted to stop exposing dynamic injection anyway.

@gaearon gaearon force-pushed the deprecate-injection branch 2 times, most recently from 9456d95 to e2e1bba Compare November 29, 2017 14:20
@gaearon gaearon force-pushed the deprecate-injection branch from e2e1bba to 73ce7c5 Compare November 29, 2017 14:31
@gaearon
Copy link
Collaborator Author

gaearon commented Nov 29, 2017

I guess lowPriorityWarning doesn't support blacklisting?

I just checked, and it does.

@gaearon gaearon merged commit 3e64b18 into facebook:master Nov 29, 2017
@gaearon gaearon deleted the deprecate-injection branch November 29, 2017 17:48
madeinfree pushed a commit to madeinfree/react that referenced this pull request Nov 30, 2017
* Deprecate injecting custom event plugins

* Fix up tests

* Fix CI

* oh noes
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.

5 participants