Giter Site home page Giter Site logo

Comments (4)

knowbody avatar knowbody commented on April 19, 2024 1

@Schneck hey, something like this is very hard for us to debug. Could you create a minimal example repo where we could see this happening?

from react-navigation.

ericvicenti avatar ericvicenti commented on April 19, 2024

You do have navigation.state, (that is the thing with key and routeName), but the params were not passed in properly. This looks like a bug in the way the TabRouters or the way they are set up inside the drawer.

Can you show us the console log output, which shows the actions and state changes? We can use that to write a test case that makes sure params get passed in deeply.

from react-navigation.

oertels avatar oertels commented on April 19, 2024

Sure, I'm using the following snippet, which I pass the "pk" param:

    componentDidMount() {
        console.log("NAV: ", this.props.navigation)
    }

Output is this:

screenshot 2017-01-27 20 30 48

Here's the action log:

screenshot 2017-01-27 20 34 14

Does this help or can I help in another way?

from react-navigation.

grabbou avatar grabbou commented on April 19, 2024

I am going to close it in favor of #80 as they are about the same.

from react-navigation.

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.