From bcf3740d2f61237d4900bb6177a297394249acc3 Mon Sep 17 00:00:00 2001 From: Wenli Tsai Date: Fri, 24 Feb 2017 19:14:35 +0800 Subject: [PATCH] Update DOCS.md the example which has the option `initialVariables` and `shouldContainerUpdate` --- DOCS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOCS.md b/DOCS.md index 3175a5e..6aeb482 100644 --- a/DOCS.md +++ b/DOCS.md @@ -17,7 +17,7 @@ The methods are named after their React / Relay counterparts. Their functionalit * Creates a container that wraps the original ReactClass. * The container performs queries and passes query results as props to the original ReactClass. * Possible `options` are the `initialVariables`, `prepareVariables` function, `shouldContainerUpdate` function, and the `fragments` definitions. -* [Example usage](https://github.com/RickWong/react-transmit/blob/c0266b061a2cfa7030500b932f3a88bf195e4465/src/example/Newsfeed.js#L50-L73) +* [Example usage](https://github.com/RickWong/react-transmit/blob/0c09eb6335309ef2c57496249bbd3d1c74fd1f10/src/example/Newsfeed.js#L47-L76) #### `render(ReactClass, optionalProps, targetDOMNode, completeCallback) : void`