esnet / esnet/react-timeseries-charts

React StrictMode causes warnings

Open
#368 1 comment 4 reactions 0 assignees View on GitHub
: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

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.