Commit fb3854a
Rewrite
* Claude use docs attempt
* Human updates
* Address review feedback
* Address additional review feedback
* Split Pitfall and DeepDive, clarify recreation examples
* Reorder DeepDive: prose before correct example
* Add Reading a Promise from context section
* Address review feedback and align DeepDive with RSC docs style
* Drop inaccurate claim about blocking page rendering
* Address feedback
* Address feedback: clarify use() accepts Promise or context
* Apply suggestion from @rickhanlonii
* Update src/content/reference/react/use.md
Co-authored-by: Ricky <rickhanlonii@gmail.com>
* [use] Add Pitfall on refetching Promises from context in RSCs
---------
Co-authored-by: Aurora Scharff <aurora.sofie@gmail.com>
Co-authored-by: Aurora Scharff <66901228+aurorascharff@users.noreply.github.com>use() docs (#8305)1 parent ecf6c2f commit fb3854a
1 file changed
Lines changed: 997 additions & 124 deletions
0 commit comments