esnet / esnet/react-timeseries-charts
React StrictMode causes warnings
Open
:spider: bug
- Dominant language
- JavaScript
- Stars
- 876
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Description
# 🐛Bug report
**Describe the bug**
Warnings reported when using React StrictMode
**To Reproduce**
Steps to reproduce the behavior:
1. Wrap ChartRow, TimeAxis, and YAxis components in ``
2. See warnings:
> componentWillMount: Please update the following components to use componentDidMount instead: ChartRow
>
> componentWillReceiveProps: Please update the following components to use static getDerivedStateFromProps instead: ChartRow, TimeAxis, YAxis
>
**Expected behavior**
No warnings
**Desktop (please complete the following information):**
- OS: Windows 10
- Browser: Chrome
- Version: 71.0.3578.98
Contributor guide
Assessment
This issue has not been assessed yet.