Skip to content

Commit

Permalink
Fix small typos in create-subscription readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzherdev committed Mar 22, 2018
1 parent dc48326 commit 19c6265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/create-subscription/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 19c6265

Please sign in to comment.