From 9d5a41c702da7be1274d970e298c1c303d8b9536 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Tue, 2 Jul 2019 13:17:53 -0700 Subject: [PATCH] [fix] Don't stringify application params Close #1365 --- packages/react-native-web/src/exports/AppRegistry/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/react-native-web/src/exports/AppRegistry/index.js b/packages/react-native-web/src/exports/AppRegistry/index.js index 1051a857..f085cc56 100644 --- a/packages/react-native-web/src/exports/AppRegistry/index.js +++ b/packages/react-native-web/src/exports/AppRegistry/index.js @@ -96,9 +96,10 @@ export default class AppRegistry { params.rootTag = `#${params.rootTag.id}`; console.log( - `Running application "${appKey}" with appParams: ${JSON.stringify(params)}.\n` + - `Development-level warnings: ${isDevelopment ? 'ON' : 'OFF'}.\n` + - `Performance optimizations: ${isDevelopment ? 'OFF' : 'ON'}.` + `Running application "${appKey}" with appParams:\n`, + params, + `\nDevelopment-level warnings: ${isDevelopment ? 'ON' : 'OFF'}.` + + `\nPerformance optimizations: ${isDevelopment ? 'OFF' : 'ON'}.` ); }