Skip to content
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

Error: Cannot have two HTML5 backends at the same time. #8

Open
j2is opened this issue May 13, 2021 · 5 comments
Open

Error: Cannot have two HTML5 backends at the same time. #8

j2is opened this issue May 13, 2021 · 5 comments

Comments

@j2is
Copy link

j2is commented May 13, 2021

I get an error saying the Order Documents Plugin Crashed, and the error says that you cannot have two HTML backends at the same time. I don't know if this is actually a plugin problem or something I've misunderstood?

@j2is
Copy link
Author

j2is commented May 13, 2021

I think it might have to do with this? react-dnd/react-dnd#186

@BretCameron
Copy link
Owner

Interesting. Are you using react-dnd as a dependency? Or perhaps you're using another plugin that uses it? I'll look into the thread you linked to see if I can work out a solution.

@BretCameron
Copy link
Owner

I'm struggling to recreate this issue. I've tried using two plugins which both have react-dnd and react-dnd-html5-backend, and even silly patterns like this:

<DndProvider backend={HTML5Backend}>
  <DndProvider backend={HTML5Backend}>
    {/*  */}
  </DndProvider>
</DndProvider>

So far, everything seems to work fine. Could you possibly share an example repo with the issue?

@j2is
Copy link
Author

j2is commented May 19, 2021

Thanks Bret, I'll send you an invite to a repo with this as a minimum reproducible issue just to rule everything else out

@robations
Copy link

I'm seeing this as well. At first I was getting duplicate list items and other glitching (I was suspecting React keys were not unique), then saw the html5 backend error in the console (Firefox). Page reload seems to have temporarily fixed.

Still investigating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants