GithubHelp home page GithubHelp logo

Comments (2)

Max-Lovell avatar Max-Lovell commented on August 15, 2024 1

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.

jcubic avatar jcubic commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.