aksonov / aksonov/react-native-router-flux

this.props not receiving params

未关闭
#3,374 25 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。