New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createBackend is not a function #1232
Comments
The import import HTML5Backend from 'react-dnd-html5-backend'; |
@gustavohenke Thank you so much. |
import {HTML5Backend } from 'react-dnd-html5-backend'; |
@lengjh is right. In the current version, it is exposed as named import { HTML5Backend } from "react-dnd-html5-backend"; See here for reference, on how to import it. |
still getting the issue, tried both ways |
solved! |
??? |
import HTML5Backend from 'react-dnd-html5-backend'; |
Just following the documentation, i am faced with this error:
createBackend is not a function
See this codesandbox: https://codesandbox.io/s/10rjqx9wq7
Thanks
The text was updated successfully, but these errors were encountered: