From 2e1cc2802709877fb2454163ba30e52a91feac8e Mon Sep 17 00:00:00 2001 From: Alex Zherdev Date: Mon, 16 Apr 2018 07:44:38 -0700 Subject: [PATCH] Fix small typos in create-subscription readme (#12399) --- packages/create-subscription/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-subscription/README.md b/packages/create-subscription/README.md index 370bd9d9da6e3..caca7a3a2e5c0 100644 --- a/packages/create-subscription/README.md +++ b/packages/create-subscription/README.md @@ -145,7 +145,7 @@ const ReplaySubscription = createSubscription({ Below is an example showing how `create-subscription` can be used with native Promises. -**Note** that it an initial render value of `undefined` is unavoidable due to the fact that Promises provide no way to synchronously read their current value. +**Note** that an initial render value of `undefined` is unavoidable due to the fact that Promises provide no way to synchronously read their current value. **Note** the lack of a way to "unsubscribe" from a Promise can result in memory leaks as long as something has a reference to the Promise. This should be taken into consideration when determining whether Promises are appropriate to use in this way within your application.