mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 11:52:00 +00:00
Fix 404 broken link for createFragmentContainer (#3598)
This commit is contained in:
@@ -14,7 +14,7 @@ const EnhancedComponent = higherOrderComponent(WrappedComponent);
|
||||
|
||||
Whereas a component transforms props into UI, a higher-order component transforms a component into another component.
|
||||
|
||||
HOCs are common in third-party React libraries, such as Redux's [`connect`](https://github.com/reduxjs/react-redux/blob/master/docs/api/connect.md#connect) and Relay's [`createFragmentContainer`](http://facebook.github.io/relay/docs/en/fragment-container.html).
|
||||
HOCs are common in third-party React libraries, such as Redux's [`connect`](https://github.com/reduxjs/react-redux/blob/master/docs/api/connect.md#connect) and Relay's [`createFragmentContainer`](https://relay.dev/docs/v10.1.3/fragment-container/#createfragmentcontainer).
|
||||
|
||||
In this document, we'll discuss why higher-order components are useful, and how to write your own.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user