Browse Source

Fix sample code variable name on "Building Great User Experiences with Concurrent Mode and Suspense" blog post (#2541)

* Update 2019-11-06-building-great-user-experiences-with-concurrent-mode-and-suspense.md

#2540 
I think `post` is `props.post`

* Update 2019-11-06-building-great-user-experiences-with-concurrent-mode-and-suspense.md
main
Youngjin Jang 5 years ago
committed by Joseph Savona
parent
commit
7d257ea0ad
  1. 2
      content/blog/2019-11-06-building-great-user-experiences-with-concurrent-mode-and-suspense.md

2
content/blog/2019-11-06-building-great-user-experiences-with-concurrent-mode-and-suspense.md

@ -196,7 +196,7 @@ function Post(props) {
<h2>by {postData.author}</h2> <h2>by {postData.author}</h2>
{/* @defer pairs naturally w <Suspense> to make the UI non-blocking too */} {/* @defer pairs naturally w <Suspense> to make the UI non-blocking too */}
<Suspense fallback={<Spinner/>}> <Suspense fallback={<Spinner/>}>
<CommentList post={post} /> <CommentList post={postData} />
</Suspense> </Suspense>
</div> </div>
); );

Loading…
Cancel
Save