Open snapxtp opened 6 years ago
I'm trying to repeat views in the cube. I get an error when I scroll while everything is running normally. Where do I make mistakes ??
There is data like this : this.state.data = [{object},{object}]
render() { return ( <CubeNavigationHorizontal ref={view => { this.cube = view; }}>
{this.state.data.map((item, index) =>( <SliderItem key={index} data={item} dataIndex={index} ))}
</CubeNavigationHorizontal> )
} }
Hi @snapxtp
Can you paste the error message you got?
I'm trying to repeat views in the cube. I get an error when I scroll while everything is running normally. Where do I make mistakes ??
There is data like this : this.state.data = [{object},{object}]
render() { return ( <CubeNavigationHorizontal ref={view => { this.cube = view; }}>
{this.state.data.map((item, index) =>( <SliderItem key={index} data={item} dataIndex={index} ))}
} }