facebook / facebook/flow

Missing React.Component getDerivedStateFromProps definition

Open
#6,101 0 comments 1 reaction 0 assignees View on GitHub
Library definitions react
Dominant language
Rust
Stars
22.3k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

[`getDerivedStateFromProps`](https://reactjs.org/docs/react-component.html#static-getderivedstatefromprops) was introduced as a static method on component classes in React 16.3, but Flow currently lacks a native definition for it.

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.