From 746eb237a7c46546142656c2b17fe4c5bc84fa12 Mon Sep 17 00:00:00 2001 From: Ben Diuguid Date: Sun, 21 Oct 2018 08:39:32 -0500 Subject: [PATCH] Clarify API docs about Relay classic --- docs/API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/API.md b/docs/API.md index 374626a5..eaadd924 100644 --- a/docs/API.md +++ b/docs/API.md @@ -561,7 +561,7 @@ const PostsListWithData = lifecycle({ toClass: HigherOrderComponent ``` -Takes a function component and wraps it in a class. This can be used as a fallback for libraries that need to add a ref to a component, like Relay. +Takes a function component and wraps it in a class. This can be used as a fallback for libraries that need to add a ref to a component, like Relay Classic. If the base component is already a class, it returns the given component.