39 Commits

Author SHA1 Message Date
lauren
be77c2a257 React Compiler v1 (#8065)
Updates our blog posts and docs for React Compiler 1.0
2025-10-10 14:50:27 -04:00
Jack Pope
49c2d26722 Update useEffectEvent docs for canary (#8025)
* Update useEffectEvent docs for canary

* Clean up prefixed imports

* Fix import

* Update blog post link
2025-09-28 11:36:27 -04:00
Ricky
604407a0da Updates from feedback (#7624)
* [Blog + Docs] Updates from feedback

* Merge in changes from #7618

Co-authored-by: Mark Erikson <mark@isquaredsoftware.com>

* Say the words "Vite", "Parcel", and "Rsbuild"

* Tweaks from feedback

* re-apply #7615

* merge in #7622

Co-authored-by: elitalpa <elitalpa@gmail.com>

---------

Co-authored-by: Mark Erikson <mark@isquaredsoftware.com>
Co-authored-by: elitalpa <elitalpa@gmail.com>
2025-02-17 17:54:29 -05:00
Ricky
7cf1f500d8 Blog and docs: Sunsetting Create React App (#7495)
* Blog and docs: Sunsetting Create React App

* fix link

* tweaks

* fix markdown

* clarity + thanks
2025-02-14 13:40:33 -05: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
Ricky
fd8b1e02b4 Update React v19 blog post for stable release (#7321)
* React v19 blog update

* re-add sebbie's install updates

Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>

---------

Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2024-12-05 13:53:26 -05:00
Bartosz Klonowski
b5f28b4844 Redirect lists-and-keys to rendering-lists describing key (#7120) 2024-08-23 17:51:11 +05:30
Jan Kassens
4c91abc78b Update /link/legacy-context to removal blog post (#7047) 2024-07-10 11:48:48 -04:00
Ricky
69b95a6fcc Add /warnings/version-mismatch (#6909) 2024-05-24 10:19:17 -04:00
Dinesh Pandiyan
556063bdce Add a redirect entry for feed.xml => rss.xml (#6836) 2024-05-05 11:34:04 -04:00
Ricky
86d306f6ce rm new redirects (#6816) 2024-04-29 22:27:44 -04:00
Ricky
3981ffea50 Add versions page and nav version (#6814)
* Add versions page and nav version

* Move version to siteConfig.js

* Fix typo

* Set to 18.3.1, use siteConfig in reference sidebar

* Redirect 18.react.dev to react.dev for now

* Fix stray bullet
2024-04-29 22:01:52 -04:00
Sebastian Silbermann
845a28165d Add redirects for moved rsc pages (#6800) 2024-04-26 15:34:29 -04: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
Ricky
f8afd94cc9 Add /link/new-jsx-transform (#6772) 2024-04-23 22:27:11 -04:00
Ricky
716e889620 Add hydration-mismatch link (#6678) 2024-03-04 17:28:18 -05:00
Ricky
6310c8a9d4 Add /link redirects (#6670)
* Add /link redirects

* Update event pooling redirect
2024-03-01 14:38:24 -05:00
dan
b9ffa56d4d Move redirects to legacy site config (#5936) 2023-04-18 17:12:30 +01:00
dan
a35b64cb33 Add <meta> tags for translations (#5930)
* Add site config with domain name

* Add <meta> tags for languages

* Move legacy redirect out of vercel config

This lets us give it a more specific subdomain per lang.

* Support sites with no legacy

* Fix types

* Undo unrelated change
2023-04-18 03:47:43 +01:00
Dan Abramov
e565b43abd Oops, reuse existing <meta> tag 2023-03-19 21:49:52 +00:00
Dan Abramov
ceaa729353 Maybe this? 2023-03-19 21:30:48 +00:00
Dan Abramov
0e72964224 Maybe this works 2023-03-19 21:28:34 +00:00
Dan Abramov
1c640c6dfd Maybe fix 2023-03-19 21:24:50 +00:00
Dan Abramov
5fff3bef53 Try to fix redirects 2023-03-19 21:21:01 +00:00
Dan Abramov
dd65dcac3b Move beta to top level 2023-03-18 22:35:53 +00:00
dan
4c2503a83e Move the old site to another repo (#5739)
* Delete the old site from this repo

* Remove old GH workflow

* Remove other files
2023-03-18 22:28:17 +00:00
dan
e826e66bff Change redirect from WG post to the blog (#4537) 2022-04-02 16:21:55 +01:00
Ricky
74246c13b9 React 18 (#4499)
* [18] ReactDOM reference to createRoot/hydrateRoot (#4340)

* [18] ReactDOM reference to createRoot/hydrateRoot

* Update note about render and hydrate

* Match the warning text

* s/Render/render

* [18] Update ReactDOMClient docs (#4468)

* [18] Update ReactDOMClient docs

* Remove ReactDOMClient where it's obvious

* Update browser message

* Update browser message note

* Update based on feedback

* Add react-dom/client docs

* [18] Upgrade homepage examples (#4469)

* [18] Switch code samples to createRoot (#4470)

* [18] Switch code samples to createRoot

* Feedback fixes

* Feedback updates

* [18] Use hydrateRoot and root.unmount. (#4473)

* [18] Add docs for flushSync (#4474)

* [18] Add flushSync to ReactDOM docs

* Seb feedback

* More Seb feedback

* [18] Bump version to 18 (#4478)

* [18] Update browser requirements (#4476)

* [18] Update browser requirements

* Update based on feedback

* [18] Add stubs for new API references (#4477)

* [18] Add stubs for new API references

* Change order/grouping

* [18] Redirect outdated Concurrent Mode docs (#4481)

* [18] Redirect outdated Concurrent Mode docs

* Use Vercel redirects instead

* [18] Update versions page (#4482)

* [18] Update version page

* Fix prettier

* [18] Update React.lazy docs (#4483)

* [18] Add docs for useSyncExternalStore (#4487)

* [18] Add docs for useSyncExternalStore

* rm "optional"

* [18] Add docs for useInsertionEffect (#4486)

* [18] Add docs for useId (#4488)

* [18] Add docs for useId

* Update based on feedback

* Add Strict Effects to Strict Mode (#4362)

* Add Strict Effects to Strict Mode

* Update with new thinking

* [18] Update docs for useEffect timing (#4498)

* [18] Add docs for useDeferredValue (#4497)

* [18] Update suspense docs for unexpected fallbacks (#4500)

* [18] Update suspense docs for unexpected fallbacks

* Add inline code block

* Feedback fixes

* [18] Updated Suspense doc with behavior during SSR and Hydration (#4484)

* update wording

* wording

* update events

* Update content/docs/reference-react.md

Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>

* add link to selective hydration

* remove some of the implementation details

Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>

* [18] renderToPipeableStream doc (#4485)

* new streaming ssr api

* add readable stream

* code snippets

* Rename strict effects / unsafe effects to use the reusable state terminology (#4505)

* Add draft of 18 release post

* Add links to speaker Twitter profiles

* [18] Update upgrade guide

* Fix typo in blog title

* [18] Blog - add note for react native

* [18] Add changelog info to blog posts

* Edit Suspense for data fetching section

* Update date

* [18] Add links

* Consistent title case

* Update link to merged RFC

* [18] Update APIs and links

* [18] Add start/useTransition docs (#4479)

* [18] Add start/useTransition docs

* Updates based on feedback

* [18] Generate heading IDs

* Add note about Strict Mode

* Just frameworks

* Reorder, fix content

* Typos

* Clarify Suspense frameworks section

* Revert lost changes that happened when I undo-ed in my editor

Co-authored-by: salazarm <salazarm@users.noreply.github.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
Co-authored-by: Sebastian Markbåge <sebastian@calyptus.eu>
Co-authored-by: Andrew Clark <git@andrewclark.io>
Co-authored-by: dan <dan.abramov@gmail.com>
2022-03-29 12:03:23 -04:00
Strek
cd1b0dfed9 Changed the version generation script to update vercel.json instead of _redirects (#4136)
* Changed the version generation script to update vercel.json instead of _redirects

* Fix prettier failures

* Expected to return a value at the end of async function 'writeRedirectsFile'

* Add same script for beta as well

* Fixes review comments

* Fixes formatting in old site
2022-01-18 17:31:17 +00:00
Dan Abramov
56e3054c0c Fix redirects 2021-10-07 19:28:16 +01:00
Brian Vaughn
d456dfbd29 Update docs and config to replace "master" with "main" branch
https://github.com/facebook/react/issues/21767
2021-06-29 13:35:55 -04:00
Alex Krolick
527f6e5a5e add v15.6 legacy docs redirect (#3464)
* add v15.6 legacy docs redirect

Related to #3401

* fix json
2021-01-13 11:00:58 -08:00
Toru Kobayashi
64d067f2c0 Remove event pooling and SyntheticEvent#persist from documents (#3207)
* remove event pooling and SyntheticEvent#persist from documents

Syntheticevent#event exists in v17, but it does nothing at the version

* add a page for legacy event pooling for _redirects

* add a warning e.persist() is no longer pooled

* Update legacy-event-pooling.md

* docs: update a redirect link for event pooling

* Update legacy-event-pooling.md

* Update legacy-event-pooling.md

* Update reference-events.md

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2020-10-23 21:14:24 +01:00
Dan Abramov
470c170e91 Update config 2020-10-08 20:28:27 +01:00
Dan Abramov
b1f13669b9 Fix JSON 2020-10-08 20:03:55 +01:00
Dan Abramov
d09251645d Fix JSON 2020-10-08 20:02:26 +01:00
Dan Abramov
7c03b1a0ec Fix JSON 2020-10-08 19:59:58 +01:00
Dan Abramov
772f627728 Add redirects 2020-10-08 19:59:27 +01:00
Dan Abramov
2c2885cc05 Add host config 2020-10-08 19:35:59 +01:00