mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 12:43:05 +00:00
[beta] Tweak usestate.md (#4310)
Hopefully people know you can do things other than render it but most of our examples have it in the JSX directly, so it might help to be explicit.
This commit is contained in:
@@ -121,7 +121,7 @@ To change the state, call the state setter function with the next state value. R
|
||||
|
||||
<AnatomyStep title="Render state in the UI">
|
||||
|
||||
Use the state in your JSX.
|
||||
Use the state in your JSX or component logic.
|
||||
|
||||
</AnatomyStep>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user