Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Fix document createEagerFactory tilte #198

Merged
merged 1 commit into from
Jun 13, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,8 @@ createEagerElement(

React elements are lazily evaluated. But when a higher-order component renders a functional component, the laziness doesn't have any real benefit. `createEagerElement()` is a replacement for `React.createElement()` that checks if the given component is referentially transparent. If so, rather than returning a React element, it calls the functional component with the given props and returns its output.

### `createEagerFactory()`

```js
createEagerFactory(
type: ReactClass | ReactFunctionalComponent | string,
Expand Down