Fix typo in create-subscription readme

PR: #12473
This commit is contained in:
Nikolay 2018-03-28 15:51:16 +03:00 committed by Nathan Hunzaker
parent c2c3c0cc36
commit 488ad5a6b9
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ Below is an example showing how `create-subscription` can be used with native Pr
**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** 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";