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

Warning system refactoring (part 1) #16799

Merged
merged 4 commits into from
Sep 24, 2019

Conversation

Jessidhia
Copy link
Contributor

Step 1 of the refactoring proposed in #16753

It's pretty much the minimum for now, to make it easier to merge. The toLowPriorityWarnDev matcher usage checks still mention the toWarnDev name, though. It can be fixed by making the matcher name also an argument to the factory, or the matcher could be forked instead of using a factory.

@sizebot
Copy link

sizebot commented Sep 16, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS against 25310a2

Avoids parsing lowPriorityWarning.js itself as the way it forwards the
call to lowPriorityWarningWithoutStack is not analyzable.
@gaearon gaearon merged commit 18d2e0c into facebook:master Sep 24, 2019
@gaearon
Copy link
Collaborator

gaearon commented Sep 24, 2019

Lgtm, thanks!

@Jessidhia Jessidhia deleted the warning-refactor-part-1 branch September 25, 2019 07:37
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.

4 participants