arqex / arqex/react-datetime

Accessing createClass via the main React package is deprecated

Open
#357 1 comment 2 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
2k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

### I'm Submitting a ...

```
[x] Bug report
[ ] Feature request
[ ] Support request
```

### Steps to Reproduce

1. Install react-datetime and the latest react.
2. Run the app.
3. Look at the warnings in the console.

### Expected Results

No warnings

### Actual Results

We see a warning that is "Accessing createClass via the main React package is deprecated..."

### Minimal Reproduction of the Problem

### Other Information (e.g. stacktraces, related issues, suggestions how to fix)

This is due to the react-onclickoutside dependency. You'll need to update it to v6 (6.1.1 is the current latest).

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.