React-native-router-flux: Access to Component's props from NavBar.

Created on 7 Aug 2017  路  1Comment  路  Source: aksonov/react-native-router-flux

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.

enhancement

Most helpful comment

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

>All comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sarovin picture sarovin  路  3Comments

basdvries picture basdvries  路  3Comments

rafaelcorreiapoli picture rafaelcorreiapoli  路  3Comments

maphongba008 picture maphongba008  路  3Comments

tonypeng picture tonypeng  路  3Comments