aksonov / aksonov/react-native-router-flux
this.props not receiving params
未关闭
help wanted
- 主要语言
- JavaScript
- 星标
- 8.9k
- 派生
- 2.1k
- PR 合并指标
- 30 天内没有已合并 PR
描述
- react-native-router-flux v4.0.6
- react v16.6.3
- react-native v0.57.7
Hi everybody, I'm having a weird problem.
Seems that passing values through scenes using props doesn't works after update to lasts versions
This is the code that changes the action passing a param "idEnquiry"
` Actions.Details({ idEnquiry: 'enquiry.id' })}
....`
And this is the page that doesn't receive the params
`export default class Details extends Component {
constructor(props) {
super(props);
console.log(this.props.idEnquiry);
....`
returns undefined
Any idea? has the Actions api changed in the last version?
Thanks
贡献指南
评估
这个 Issue 还没有评估数据。