facebook / react

The library for web and native user interfaces.

Home Page:https://react.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable new console override behavior for React Native

bvaughn opened this issue · comments

@feedthejim has landed a change in Metro to sync DevTools preferences to React Native synchronously as part of the initial React Native payload (in DEV only). Metro gets these preferences from the DevTools frontend by listening to the (already existing/deployed) sync message sent from the DevTools frontend to backend, so no changes are required on the DevTools side.

That being said, we do need to change (and test) the following feature flags to enable the new console logging feature for both React Native and DevTools:

export const consoleManagedByDevToolsDuringStrictMode = true;

export const consoleManagedByDevToolsDuringStrictMode = true;

This one's all you, @lunaruan!

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!