-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Fix Fiber DEV mode detection #694
Comments
The approach, using a self declared If the same approach is taken in Fiber, we again run the same check in devtools right? |
I think something similar is reasonable. We keep I want to check two things:
|
Ah! Interesting. And use regex to check if Edit: Did you mean |
React DevTools has been rewritten and recently launched a new version 4 UI. The source code for this rewrite was done in a separate repository and now lives in the main React repo (github.com/facebook/react). Because version 4 was a total rewrite, and all issues in this repository are related to the old version 3 of the extension, I am closing all issues in this repository. If you can still reproduce this issue, or believe this feature request is still relevant, please open a new issue in the React repo: https://github.com/facebook/react/issues/new?labels=Component:%20Developer%20Tools |
I fixed a false positive in #693 but we should have a better strategy than relying on a particular function. I think we should pass a completely separate function in Fiber which we'll check for crushed-ness, and keep it explicit. This will require a small change in React.
The text was updated successfully, but these errors were encountered: