aaronkchsu
04/18/2017, 9:22 PMaaronkchsu
04/18/2017, 9:23 PMaaronkchsu
04/18/2017, 9:30 PMaaronkchsu
04/18/2017, 9:30 PMnilan
04/18/2017, 9:32 PMnilan
04/18/2017, 9:34 PMnilan
04/18/2017, 9:34 PMnilan
04/18/2017, 9:34 PMaaronkchsu
04/18/2017, 9:38 PMConst HitToQuery = ({hit}) => {
console.log('Query begin');
const queried = graphql(
findBite, {
variables: {
id: hit.id
}
}
)(QueryToBite);
console.log(queried);
return queried;
};`aaronkchsu
04/18/2017, 9:40 PM<Hits hitComponent={HitToQuery}/>aaronkchsu
04/18/2017, 9:40 PMnilan
04/18/2017, 9:41 PMaaronkchsu
04/18/2017, 9:42 PMnilan
04/18/2017, 9:47 PMaaronkchsu
04/18/2017, 9:48 PMaaronkchsu
04/18/2017, 9:48 PMnilan
04/18/2017, 9:52 PMnilan
04/18/2017, 9:52 PMaaronkchsu
04/18/2017, 9:52 PMdzello
04/19/2017, 8:50 AMnilan
04/19/2017, 8:52 AM<Hits /> component handles the hits internally and doesn't grant access to the list of hits directly, is there a way to access them?dzello
04/19/2017, 8:56 AMhitComponent property receives a hit prop will all the info in it. https://community.algolia.com/react-instantsearch/widgets/Hits.htmlnilan
04/19/2017, 8:57 AMdzello
04/19/2017, 8:57 AMnilan
04/19/2017, 8:58 AMdzello
04/19/2017, 8:58 AMdzello
04/19/2017, 8:58 AMnilan
04/19/2017, 8:59 AMaaronkchsu
04/19/2017, 1:01 PM