Skip to content

Warning system refactoring (part 1)#16799

Merged
gaearon merged 4 commits into
react:masterfrom
Jessidhia:warning-refactor-part-1
Sep 24, 2019
Merged

Warning system refactoring (part 1)#16799
gaearon merged 4 commits into
react:masterfrom
Jessidhia:warning-refactor-part-1

Conversation

@Jessidhia

Copy link
Copy Markdown
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

sizebot commented Sep 16, 2019

Copy link
Copy Markdown

No significant bundle size changes to report.

Generated by 🚫 dangerJS against 25310a2

Comment thread scripts/print-warnings/print-warnings.js
Comment thread packages/shared/lowPriorityWarning.js
Avoids parsing lowPriorityWarning.js itself as the way it forwards the
call to lowPriorityWarningWithoutStack is not analyzable.
@gaearon gaearon merged commit 18d2e0c into react:master Sep 24, 2019
@gaearon

gaearon commented Sep 24, 2019

Copy link
Copy Markdown
Collaborator

Lgtm, thanks!

@Jessidhia Jessidhia deleted the warning-refactor-part-1 branch September 25, 2019 07:37
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
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