Skip to content

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