question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Check the render method of `DragDropContext(SortableTreeWithoutDndContext)`

See original GitHub issue

Reporting a Bug?

Troubleshooting have problem

Requesting a Feature?

import SortableTree from 'react-sortable-tree';

image

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:6
  • Comments:8

github_iconTop GitHub Comments

1reaction
zipoucommented, Apr 8, 2019

Downgrading from react-sortable-tree@2.6.2 to react-sortable-tree@2.6.0 seems to work with react@16.8.6

1reaction
sboga94commented, Jan 29, 2019

The problem is with the React version. There is a code snippet inside of React-dnd . (DragDropContext.Consumer, null, null), the value of DragDropContext.Consumer is undefined.

The Consumer object is created with the React.createContext () function. Your React version may not have this function.

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - Check the render method of `DragDropContext ...
Check the render method of DragDropContext (SortableTreeWithoutDndContext). Here is my code: import React, { Component } from "react"; ...
Read more >
react-sortable-tree - npm
Prop Type Description treeData (required) object getNodeKey (recommended) func onDragStateChanged func Called when a drag is initiated or ended. (): void
Read more >
How to use the react-dnd.DragDropContext function in ... - Snyk
domain], collectionPrefix: info.collectionPrefix, }; } export default reduxForm({ form: 'EditMenu', validate })( DragDropContext(HTML5Backend)( connect( ...
Read more >
Pearson-react-sortable-tree NPM
searchMethod, func, The method used to search nodes. Defaults to a function that uses the searchQuery string to search for nodes with matching...
Read more >
Drag-and-drop Sortable Component for Nested Data ... - Morioh
Want to perform add/remove operations on the tree data without creating your own recursive function? Check out the helper functions exported from ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found