Coder Social home page Coder Social logo

Comments (5)

sallar avatar sallar commented on July 17, 2024

hey @andrew-levy! thanks for tagging me here
I'm thinking that react context's should't be created and consumed directly by the package itself. this should be implemented by the end user. so you need to provide a Provider component to the user (from the navigation package) that the user can then wrap their app around, and then main.js package can safely consume it...

from swiftui-react-native.

sallar avatar sallar commented on July 17, 2024

by the way, react-navigation library has this Large Title animation built in... do you need to reimplement this animation?

from swiftui-react-native.

andrew-levy avatar andrew-levy commented on July 17, 2024

Hey @sallar. Ah that makes more sense now, thanks. I'll go ahead and try that. I wasn't able to find a the Large Title functionality in react-navigation, did you mean react-native-navigation?

from swiftui-react-native.

sallar avatar sallar commented on July 17, 2024

@andrew-levy react-navigation has another stack navigator called "native" stack navigator, which I really like, and is possible to use with Expo as well:
https://reactnavigation.org/docs/native-stack-navigator/
This one uses the OS's default navigator (on both iOS and Android) and has the large title functionality too. I recommend using this instead of the "javascripty" one

from swiftui-react-native.

andrew-levy avatar andrew-levy commented on July 17, 2024

@sallar Wow cool I didn't know that existed. Was searching for that for a while but I guess I missed it

from swiftui-react-native.

Related Issues (12)

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.