Sen Yang

Results 70 comments of Sen Yang

This whole `SortableContainer` thing is designed for avoiding React's warning since 15.2.0 IIRC.

using middleware seems useless in this case ``` middleware: function(connect, options) { return [ function(req, res, next) { res.setHeader('Content-Type', 'text/html; charset=gbk'); return next(); }, connect.static(require('path').resolve('.')) ]; } ```

Cool, I will review this ASAP.

I've tweaked the demo to return mapped items and it just works, please check it out. https://github.com/jasonslyvia/react-anything-sortable/blob/0867f1460dd560570d61511432564a1ea100e6bc/demo/index.js#L92

If you're adding or removing children of `Sortable` dynamically, you should add a different `key` to `` every time children change. Check the notice section of docs for more information....

Also you can refer to [this demo](https://github.com/jasonslyvia/react-anything-sortable/blob/c51dffe78943987225f4b2675200c83cd62ab7f0/demo/index.js#L58) for handling dynamic children modification.

Have you tried add `dynamic` props to ``?