From 984b8dd574ab063ec72fff47e65f99b083a3619f Mon Sep 17 00:00:00 2001 From: Alex Zherdev Date: Sun, 18 Mar 2018 20:34:59 -0700 Subject: [PATCH] Fix small typos in create-subscription readme --- packages/create-subscription/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/create-subscription/README.md b/packages/create-subscription/README.md index 33089f4cb5855..d5085b97da2f0 100644 --- a/packages/create-subscription/README.md +++ b/packages/create-subscription/README.md @@ -135,9 +135,9 @@ 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 considerationg when determining whether Promises are appropriate to use in this way within your application. +**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. ```js import React from "react";