Browse Source

[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.
main
Sophie Alpert 3 years ago
committed by GitHub
parent
commit
edac1430f2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/pages/apis/usestate.md

2
beta/src/pages/apis/usestate.md

@ -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>

Loading…
Cancel
Save