내가 matchPage에 matchInfo을 보낼 것인지, 또 다른
handleShowMatchFacts = id => {
// console.log('match', id)
return fetch(`http://api.football-api.com/2.0/matches/${id}?Authorization=565ec012251f932ea4000001fa542ae9d994470e73fdb314a8a56d76`)
.then(res => {
// console.log('match facts', matchFacts)
this.props.navigator.push({
title: 'Match',
component: MatchPage,
passProps: {matchInfo: res}
})
// console.log(res)
})
}
나는 위의이 기능이 하나 개의 구성 요소에서 소품을 탐색, 기본 반응한다.
다음과 같이 해당 소품을 사용합니다.
사람 감사합니다 새 구성 요소로 이동 doset! 너는 내 문제를 해결했다 !! 나에게 응답 해 주셔서 고마워! –
위대한 .. 다행했습니다. –