zehfernandes / react-native-3dcube-navigation

MIT License
283 stars 48 forks source link

Exception thrown while executing UI Block #5

Open snapxtp opened 6 years ago

snapxtp commented 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>
)

} }

zehfernandes commented 6 years ago

Hi @snapxtp

Can you paste the error message you got?