Commit Graph

6 Commits

Author SHA1 Message Date
Ricky
55a317d407 Rewrite useActionState (#8284)
* Claude update for useActionState

* Human edits

* Feedback

* Add link to form action docs

* oops

* claude feedback

* Add error handling example.

* Better useOptimistic and pending states.

* Move up "cancelling queued actions" and update form example pending state

* Ooops

* Troubleshooting updates

* Feedback
2026-02-16 00:08:26 +08:00
Sophie Alpert
7cdbed03a6 Mention startTransition in useActionState docs (#7448) 2025-01-24 09:25:14 -08:00
Ricky
4673a050e1 Merge v19 docs to main (#7322)
* Convert "Canary" callouts to "React 19 beta" (#6811)

* Convert "Canary" callouts to "React 19 beta"

* Starting in

* Bump version string

* Bump deploy

* Bump deploy

* Bump deploy

* [19] Remove <NextMajor> callouts (#6844)

* Remove <NextMajor> callouts

* rm if(node)

* Delete removed APIs from 19 docs (#6845)

* Add information about ref handling in strict mode (#6777)

* Add information about DOM ref handling in strict mode

* switch order of ref object / ref callback in strictmode doc

* use 'refs to components' terminology instead of 'DOM refs'

* update references to canary/r19

* Expand usage example and remove badges

---------

Co-authored-by: Rick Hanlon <rickhanlonii@fb.com>

* [19] s/"Server Action"/"Server Function" (#7180)

* [19] s/Server Action/Server Function

* Revert /blog and change redirect

* Add note

* Tweak note

* [v19] Update sandboxes to 19 RC (#7196)

* Update transition docs for React 19 (#6837)

* Add async transitions to React 19 docs

* Updates from feedback

* tweaks

* grammar

* Add startTranstion API

* Apply suggestions from code review

Co-authored-by: Noah Lemen <noah.lemen@gmail.com>

* Updated

* capitalization

* grammar

---------

Co-authored-by: Noah Lemen <noah.lemen@gmail.com>

* [19] Add docs for prerender APIs (#7320)

* Add prerender APIs

* fix code blocks

---------

Co-authored-by: Noah Lemen <noah.lemen@gmail.com>
2024-12-05 14:03:22 -05:00
Jake Saterlay
2b2d0f2309 useActionState pending example (#6989)
Co-authored-by: Sebastian "Sebbie" Silbermann <silbermann.sebastian@gmail.com>
2024-10-08 10:57:10 +02:00
Srikanth Kandi
057f35cc4d Replaced all instances of /react to /rsc (#6797) 2024-04-26 11:36:22 +02:00
Jan Kassens
4f5501088e Rename useFormState to useActionState (#6776)
* move useFormState api

* add redirect

* use React DOM as the name
2024-04-25 13:59:37 -04:00