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

Access to Component's props from NavBar. #2195

Closed
tendolukwago opened this issue Aug 7, 2017 · 1 comment
Closed

Access to Component's props from NavBar. #2195

tendolukwago opened this issue Aug 7, 2017 · 1 comment

Comments

@tendolukwago
Copy link

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.0-beta.15 (v3 is not supported)
  • react-native v0.46.4?

Expected behaviour

First, great library. it's been a ton of help so far. There is some important functionality though, that I'd like some clarification on.

In v4, I expect to be able to call a static method that has access to the component's props.

Being able to save and interact with the store, seems like pretty necessary functionality....maybe that's just me, though. I've seen you discuss this in a couple of threads, but there hasn't been any clear solution. If it's the custom navigation that's the answer, can you please provide an example of how to use it with the rnrf? The documentation isn't very clear.

Thanks.

Actual behaviour

I can't access the component's props.

@aksonov
Copy link
Owner

aksonov commented Aug 16, 2017

Check 4.0.0-beta.18 - now you can access your component instance via Actions.refs.SCENE_NAME

@aksonov aksonov closed this as completed Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants