gaearon / gaearon/react-hot-loader

proxy.getCurrent is not a function when using react-beautiful-dnd

Open
#1,410 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.2k
Forks
775
PR merge metrics
No merged PRs in 30d

Description

### Description

When importing 'react-beautiful-dnd' the page does not load, `proxy.getCurrent is not a function` is thrown in `react-hot-loader.development.js`.

```js
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd'
```

### Expected behavior

The page should load.

### Actual behavior

An exception is thrown.

### Environment

React Hot Loader version: 4.12.18
React: 16.12.0
React Beautiful DnD: 12.2.0

Run these commands in the project folder and fill in their results:

1. `node -v`: v12.14.0
2. `npm -v`: 6.13.4

Then, specify:

1. Operating system: MacOS
2. Browser and version: Chrome

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.