From e79366d5497e669af462b705303bee7edef02585 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Tue, 10 Jul 2018 14:00:06 -0700 Subject: [PATCH] Link create-subscription doc to GH issue with de-opt explanation (#13187) --- 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 caca7a3a2e..3fa90d1e69 100644 --- a/packages/create-subscription/README.md +++ b/packages/create-subscription/README.md @@ -15,7 +15,7 @@ Other cases have **better long-term solutions**: The main motivation for `create-subscription` is to provide a way for library authors to ensure compatibility with React's upcoming asynchronous rendering mode. `create-subscription` guarantees correctness in async mode, accounting for the subtle bugs and edge cases that a library author might otherwise miss. -However, it achieves correctness by sometimes de-opting to synchronous mode, obviating the benefits of async rendering. This is an inherent limitation of storing state outside of React's managed state queue and rendering in response to a change event. +However, [it achieves correctness by sometimes de-opting to synchronous mode](https://github.com/facebook/react/issues/13186#issuecomment-403959161), obviating the benefits of async rendering. This is an inherent limitation of storing state outside of React's managed state queue and rendering in response to a change event. The effect of de-opting to sync mode is that the main thread may periodically be blocked (in the case of CPU-bound work), and placeholders may appear earlier than desired (in the case of IO-bound work).