reactjs - Maximum call stack size exceeded in react native -
i using react native , working fine until introduced following libs in package.json
"babel-plugin-transform-class-properties": "^6.24.1", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-3": "^6.24.1",
also updated .babelrc
{ "presets": ["es2015", "react-native", "babel-preset-stage-3"] }
but m receiving maximum call stack size exceeded while running application. added above dependencies async/await functions.
my package.json looks this
{ "name": "pilbara_weed_management_mobile", "version": "0.0.1", "private": true, "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest" }, "dependencies": { "babel-plugin-transform-class-properties": "^6.24.1", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-3": "^6.24.1", "react": "16.0.0-alpha.12", "react-native": "0.47.2", "react-native-root-toast": "^1.3.0", "react-native-smart-splash-screen": "^2.3.5", "react-native-snackbar-dialog": "^1.3.0", "react-navigation": "^1.0.0-beta.11" }, "devdependencies": { "babel-jest": "20.0.3", "babel-preset-react-native": "3.0.1", "jest": "20.0.4", "react-test-renderer": "16.0.0-alpha.12" }, "jest": { "preset": "react-native" } }
i still getting same error after removing dependencies. idea went wrong?
some of these included react
& react-native
, makes infinite loop async/await
functions included in react native
without adding dependencies
Comments
Post a Comment