mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
eee04b19e1
This adds an instrumentation hook for logging so that we can monitor invalid API usage before we're ready to issue a warning. I took the opportunity to update some console.warns to use the warning module instead. The remaining console.warns will be replaced by the warning module after we've cleaned up the callsites.