aksonov / react-native-router-flux

The first declarative React Native router
MIT License
8.98k stars 2.11k forks source link

Actions.refs not Working on V.4.0.6 #3626

Open AliUZAR opened 4 years ago

AliUZAR commented 4 years ago

Version

Tell us which versions you are using: "react-native-router-flux": "^4.0.6", "react-redux": "^7.1.3", "redux": "^4.0.5", "react": "16.9.0", "react-native": "0.61.5",

Expected behaviour

Actions.refs.ScreenKey.functionName should trigger 'functionName' in ScreenKey

Actual behaviour

I used this refs operation without redux its working when i use redux in my application, not working im using like this ; <Scene key="Welcome" component={Welcome} onEnter={()=> Actions.refs.Welcome.myOnEnterFunc } />

pinturic commented 4 years ago

I am using "react-native-router-flux": "4.2.0" and it seems it is not working either.