Skip to content

React StrictMode causes warnings #368

@davegravy

Description

@davegravy

🐛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 <React.StrictMode>
  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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions