You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No new list in callback? Provide only previous and next indices?
Allow defining listComponent and itemComponent (default to ul and li)
Allow defining listProps and itemProps which will be applied to these components
Allow itemKey to be a function (for getting keys from immutable objects)
Clone item components for rendering, or use functional components?
Multi-select components to reorder
/* Work in progress */constItem=(props)=>(<div{...props}></div>);classAppextendsComponent{render(){return(<ReorderlistComponent="div"itemComponent={Item}/>);}}
Refactor:
setStatewhere component updates are not requiredlistComponentanditemComponent(default toulandli)listPropsanditemPropswhich will be applied to these componentsitemKeyto be a function (for getting keys from immutable objects)