122
rated 0 times
[
123]
[
1]
/ answers: 1 / hits: 85282
/ 8 Years ago, sun, april 10, 2016, 12:00:00
When trying to use async/await in react-native, I am getting the following error:
uncaught error Error: SyntaxError: /Users/senthilsivanath/Documents/MusicTulip/index.ios.js: Unexpected token (50:23)
48 | renderScene: function(route,nav) {
49 | try {
50 | const response = await signIn.isLoggedIn();
My .babelrc
file is:
{ presets: [react-native, es2015, babel-preset-stage-3] }
More From » react-native