mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
cc56bed38c
The module pattern
```
function MyComponent() {
return {
render() {
return this.state.foo
}
}
}
```
has been deprecated for approximately 5 years now. This PR removes
support for this pattern. It also simplifies a number of code paths in
particular related to the concept of `IndeterminateComponent` types.