I was going through react dnd's documentation on creating a sortable example where I found a working example at http://react-dnd.github.io/react-dnd/examples-sortable-simple.html. I have use case similar to this where my list contains items of different types.
Is adding a common wrapper component over each type of list item, considered a good design option? This will help me retain the present architecture and not mess up things.
Aucun commentaire:
Enregistrer un commentaire