Comments (2)
Thanks, that put me on the right track. What I've found on this for anyone else confused:
Docs for Paper UI (and I think every UI library suggested by Expo) are not updated with the newest version of Expo, which now uses the Expo file-based routing system by default. This means that the entry point to the app, App.tsx, is largely replaced with _layout.tsx (relevant PR), but also index.tsx to some degree. Fortunately, you can still mostly follow the tutorials, noting things like need to be inside RootLayout() in _layout.tsx instead of in App.tsx. A useful way to figure out the new system is to compare the Stack Navigator tutorials from the Expo docs and Paper.
Alternatively, you can create an app with App.tsx still using npx create-expo-app@latest ProjectName --template blank@latest
(see), or could create-expo-app with a lower SDK.
from react-native-paper.
It looks like latest create-expo-app use new expo router and don't use any old files.
I'm not familiar with new router (it looks like file based like in Next.js), but I would say that the documentation needs to be updated to include information how to use library with new base expo project.
from react-native-paper.
Related Issues (20)
- Text Input label position HOT 5
- onPress Card don't work after upgrade Expo to 51 HOT 4
- Modal flickering on closeing HOT 2
- Multiline text in SegmentedButtonItem
- Problem with the "BottomNavigation.Bar" component example (route.title) HOT 2
- Timeline to official New Architecture support? HOT 1
- useTheme function need more explanation HOT 1
- TextInput autofocus is not opening keyboard on Android HOT 4
- Shadow Appears on Disabled, Selected Flat Chip When Rendered Next to Outlined Chip in Same Row HOT 5
- Merge and release the pending PR HOT 1
- Text is truncated when nested with different sizes.
- TextInput not styling properly on version 5.12.4 HOT 3
- Select component?
- Fab.Group forgot to remove the click event of the fab label
- Tootip import module error HOT 3
- Multiline TextInput backgroundColor does not fully cover surface HOT 2
- After deleting a letter from the text input, the cursor will move back one letter's position HOT 2
- @react-native-vector-icons monorepo as new default?
- Getting error when running example project: ApiV2Error: Entity Not Authorized. HOT 1
- Add support or recommendation for Material Symbols icons
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-paper.