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

DevTools always overrides the dispatcher when shallow rendering #20011

Merged
merged 1 commit into from
Oct 14, 2020

Commits on Oct 14, 2020

  1. DevTools always overrides the dispatcher when shallow rendering

    This is done so that any effects scheduled by the shallow render are thrown away.
    
    Unlike the code this was forked from (in ReactComponentStackFrame) DevTools should override the dispatcher even when DevTools is compiled in production mode, because the app itself may be in development mode and log errors/warnings.
    Brian Vaughn committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    8b272df View commit details
    Browse the repository at this point in the history