mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
f75f8b48a2
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.