Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The useLegacyImplementation prop is not available with Reanimated 3 as it no longer includes support for Reanimated 1 legacy API. Remove the useLegacyImplementation prop from Drawer.Navigator to be able to use it. #551

Open
patel-harshal opened this issue Feb 9, 2024 · 0 comments

Comments

@patel-harshal
Copy link

Summary

expo version 49 or 50 not support drawer navigation in snack expo.

What platform(s) does this occur on?

Android, Web

SDK Version

49 or 50

Reproducible demo or steps to reproduce from a blank project

import * as React from 'react';
import { View, Text } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { createDrawerNavigator } from '@react-navigation/drawer';

function Feed() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
Feed Screen

);
}

function Article() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
Article Screen

);
}

const Drawer = createDrawerNavigator();

function MyDrawer() {
return (
<Drawer.Navigator useLegacyImplementation>
<Drawer.Screen name="Feed" component={Feed} />
<Drawer.Screen name="Article" component={Article} />
</Drawer.Navigator>
);
}

export default function App() {
return (



);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant