From f8c1ca0f7dc0ad2714bced83f569b05b6bc490a7 Mon Sep 17 00:00:00 2001 From: inuscript Date: Mon, 13 Jun 2016 10:38:36 +0900 Subject: [PATCH] Fix createEagerFactory tilte --- docs/API.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/API.md b/docs/API.md index 56c55ad9..9b5e0afa 100644 --- a/docs/API.md +++ b/docs/API.md @@ -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,