Graylog2 / Graylog2/graylog2-server

Migrate to new React lifecycle methods

Open
#5,241 0 comments 0 reactions 0 assignees View on GitHub
infrastructure triaged web
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

From: https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html

Since React 16.3, these React lifecycle methods are considered unsafe and will be deleted in React 17: `componentWillMount`, `componentWillReceiveProps`, and `componentWillUpdate`. All legacy lifecycle methods have some replacements, so we should migrate the code to use the new methods when we have some time.

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.