Ricky
29743d0e49
Revamp useOptimistic docs ( #8264 )
...
* Revamp useOptimistic docs
* Updates from review
* Edit down a bit
* Updates from feedback
* Updates from feedback
* Updates from feedback
* fml, forgot startTransition again
* rm "prop"
* feedback from @stephan-noel
* feedback from @stephan-noel
* update note
2026-01-30 14:32:34 -05:00
Ricky
a3e9466dfe
fix action pattern in useTransition / useOptimistic ( #7796 )
...
* fix action pattern in useOptimistic
* update useTransition too
2025-04-30 10:18:55 -04:00
Ricky
d6c4c0fee5
Fix useOptimistic example ( #7792 )
...
* fix useOptimistic example
* prepend messages
2025-04-29 18:07:34 -04: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
geeseyj
bb65ace6e0
Fix #6487 specify which Sandpack files go into a src directory ( #6496 )
...
* specify which sandbox files go in src directory
* fix some stragglers
2023-12-15 13:01:53 -08:00
Xuan Huang (黄玄)
4f9e9a5661
Capitalize word "Canary" ( #6427 )
...
Summary of changes:
See <https://github.com/reactjs/react.dev/pull/6417 >
Co-authored-by: xuan.huang <xuan.huang@bytedance.com >
2023-11-14 06:49:55 -08:00
Kathryn Middleton
49ebed1b5b
Fix useOptimistic demo bug ( #6422 )
2023-11-08 13:08:58 -05:00
Kathryn Middleton
46b45fb873
Add useOptimistic Hook API reference documentation ( #6377 )
...
* Add useOptimistic API reference documentation
* Fix title
* Add working exmaple from form and updadd parameters
* Add updates to useOptimistic
* Add updates to useOptimistic
* Add updates to useOptimistic
---------
Co-authored-by: Matt Carroll <mattca@meta.com >
2023-10-27 11:15:07 -07:00