Ditutup

babel react native web

Hi,

- I am trying to implement navigation in react native web, followed the below youtube example

[login to view URL]

- but I am facing the below error.

/node_modules/react-native-gesture-handler/[login to view URL]: Support for the experimental syntax 'flow' isn't currently enabled (14:8):

- so I researched and found this link.

[login to view URL]

- but still I am not able to resolve.

- I tried several babel configurations but still not helping

- can you tell me how to fix it.

- provig my codesandbox and code snippet below

[login to view URL]:21-73

<!-- language-all: lang-or-tag-here -->

//import { createBrowserApp } from "@react-navigation/web";

import { createStackNavigator } from "react-navigation-stack";

import { createAppContainer } from "react-navigation";

import { createBrowserApp } from "@react-navigation/web";

import Feed from "../screens/Feed";

import Profile from "../screens/Profile";

import { Platform } from "react-native";

const isWeb = [login to view URL] === "web";

const Home = createStackNavigator(

{

Profile: Profile,

Feed: Feed

},

{

navigationOptions: {

headerTintColor: "#fff",

headerStyle: {

backgroundColor: "#000"

}

}

}

);

const container = isWeb ? createBrowserApp(Home) : createAppContainer(Home);

export default container;

Kemahiran: React Native, React.js, JavaScript, HTML, CSS

Lihat lagi: react native web, react native web redux, create react native web, react-native-web, create-react-app react-native-web, react native web storybook, react native web starter, react native web tutorial, react native web components, react-native-web example, react native web demo, react native web browser, react-native-web starter, react native web typescript, lottie react native web, react native web app, react native web expo, create react native web app, react-native-web npm, babel-plugin-react-native-web

Tentang Majikan:
( 3 ulasan ) San Antonio, United States

ID Projek: #29050412

3 pekerja bebas membida secara purata $28 untuk pekerjaan ini

vijaydvaswani

Hello Hope you are doing well. I'm react native developer and I can fix your firebase authentication error in the app. kindly let me know when we start. Thanks

$35 USD dalam 2 hari
(9 Ulasan)
4.6
maanu19dec2000

Hi. ------> Here is my sample work: [login to view URL] <------ I've already made navigation in my several apps and I think problem that you're facing is because for v4.0 and v5.0 issue as the tutorial you're following Lagi

$30 USD dalam sehari
(1 Ulasan)
0.4
hosensihab1327

Hi, How are you? Upon reading brief details I believe its a doable job I have great experience doing projects with HTML, CSS, MySQL, PHP, Website Design and Development and Laravel. we have a professional team and we Lagi

$20 USD dalam sehari
(2 Ulasan)
0.0