react flip move with react onset list
-
Hey all. Is it possible to use react-flip-move with a react onsen list? It doesn’t work for me because there doesn’t seem to be a way to render the flip move component as a direct child of the list, and then have the list children be children of the flip move component.
Any chance anyone knows something clever to make this work?
Thanks,
Scott
-
@sherscher never tried to use
react-flip-move
itself but you can better control the rendering of lists if you do something like this:<List> {this.state.listItems.map(function(data, i){ return <ListItem>{{data}}</ListItem> })} </List>
Hope it helps.