Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
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.