View JS logs after bundled and issue with useReducer #10666
-
Hello! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
You can specify a native callback to run every time the JS runs This defaults in Debug to the logging you're seeing, but in Release it does nothing. You can specify your own callback. |
Beta Was this translation helpful? Give feedback.
-
Can you @jonthysell give the full steps to add the logger in release mode, because I'm stuck in that and couldn't see the logs any where |
Beta Was this translation helpful? Give feedback.
You can specify a native callback to run every time the JS runs
console.log
. See https://microsoft.github.io/react-native-windows/docs/next/native-api/ReactInstanceSettings#nativeloggerThis defaults in Debug to the logging you're seeing, but in Release it does nothing. You can specify your own callback.