Skip to content

Commit

Permalink
Remove module pattern function component support (#27742)
Browse files Browse the repository at this point in the history
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.

DiffTrain build for [cc56bed](cc56bed)
  • Loading branch information
gnoff committed Mar 28, 2024
1 parent 69b2f2d commit 60fecf1
Show file tree
Hide file tree
Showing 23 changed files with 2,222 additions and 3,536 deletions.
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
63651c49e068a04cdc6ee1e2fa9c6125167987d2
cc56bed38cbe5a5c76dfdc4e9c642fab4884a3fc
Loading

0 comments on commit 60fecf1

Please sign in to comment.