
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
@deuex-solutions/react-dnd-nestable
Advanced tools
Note: this project is unmaintained.
This was an attempt at a React DnD reimplementation of the excellent but dated Nestable jQuery plugin. Basic functionality should work, though feature parity with Nestable was never quite reached.
<Nestable
items={ this.state.items }
renderItem={ this.renderItem }
onUpdate={ this.updateItems }
maxDepth={ 3 }
/>
itemsRequired. Each item in the array must have a unique id property. This is used to keep track of which item is which.
Example: { id: '1', text: 'Item #1', children: [] }
renderItemRequired. A function which returns a React component. Invoked with an object containing the following properties:
| Property | Description |
|---|---|
item | The item to render. |
isDragging | Whether the item is currently being dragged. |
isPreview | Whether the item is the preview drag layer. |
depth | The current depth level. |
connectDragSource | Only available if props.useDragHandle is set to true. Use as specified in the React DnD docs. |
childrenPropertyOptional. The property on each item which contains an array of children. Defaults to 'children'.
childrenStyleOptional. Style object applied to nested <ol>s.
onUpdateOptional. A function invoked with the new array of items whenever an item is dropped in a new location.
useDragHandleOptional. Set to true to specify a drag handle. Otherwise, entire item is draggable. Defaults to false.
maxDepthOptional. Maximum item depth. Defaults to Infinity.
thresholdOptional. Distance in pixels the cursor must move horizontally before item changes depth. Defaults to 30.
FAQs
*Note: this project is unmaintained.*
We found that @deuex-solutions/react-dnd-nestable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.