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>
3 years ago
Siarhei Bobryk
f0a9793dff
[Docs] Apply the code Markdown syntax for the value prop ( #3912 )
3 years ago
Luke Ingalls
68e4efcf93
Added missing comma and removed a few redundant words ( #3725 )
4 years ago
Rami Sabbagh
532de4fea2
Highlight all modified lines in the React forms example ( #3486 )
The change at line 21 was not highlighted, which has been modified with the `handleSubmit` handler added.
4 years ago
Alireza Ayinmehr
e2c2fe2642
Sync Reservation Component with CodePen example ( #3221 )
4 years ago
Dan Abramov
fa5e6e7a98
Remove misleading example in Forms ( #2875 )
* Remove misleading example in Forms
* Update forms.md
* Update forms.md
5 years ago
Rajinder Yadav
a35a95fb4b
Handling Multiple Inputs ( #2260 )
Text says to use "__name__" but code shows usage of "__type__".
5 years ago
Nat Alison
25df15b83e
reapply, correctly generating links
6 years ago
Nat Alison
dc1e5366e3
revert id adding
6 years ago
Nat Alison
3e49e971d0
add everything else again
6 years ago
Dan Abramov
0276f2cd75
Add a link to Formik ( #1197 )
6 years ago
Jon Kiparsky
ca4bdedbd6
Remove brand name ( #1008 )
The brand name in the example adds nothing to comprehensibility.
7 years ago
Dan
db66436112
Make CodePen links more prominent and consistent
7 years ago
Dan Abramov
3ed5a51eeb
Move the section on file inputs to avoid circular learning dep ( #588 )
7 years ago
Brian Vaughn
82cf82486a
Wordsmithing
Replaced "a <input>" with "an <input>" in a couple of places.
Simplified wording slightly to (hopefully) be easier for non-native speakers to read.
7 years ago
Vishal Raj
33aa0f6b4b
gatsby remark embed snippet inclusion
7 years ago
Vishal Raj
dd41d34c20
modification: gatsby-remark-code-plugin
7 years ago
Kirby Walls
b943f6c4c4
Change EssayForm label text to match example ( #428 )
7 years ago
Vishal Raj
4d1342506d
doc: added documentation for input type=file
7 years ago
Brian Vaughn
5a084dd028
Wording nits
7 years ago
Fanny Vieira
66572d8a98
modifying to docs / forms page, adding route in redirect file, correcting grammatical errors
7 years ago
Brian Vaughn
93aa551f1a
Reorganized 'docs' folder
7 years ago
Josh Hawkins
f39926bcb8
Improve docs for select multiple ( #9539 )
* Readd original select multiple note
* Update forms.md
7 years ago
Brian Vaughn
52b694eaae
Add new docs website ( #10896 )
Adds a new docs website, built with Gatsby JS, to replace the old Jekyll site. Source code for the new site lives in /www (although markdown and YML data still comes from the legacy /docs folder).
Changes to either markdown or website source code can be previewed on Netlify. The react-js bot should automatically add comments to each PR with preview links. (This preview is generated by running the newly-added yarn build:docs command in the root package.json.)
The majority of the changes in this PR are contained within the new /www directory. However some minor modifications have been made to existing content in the /docs directory:
* Modified frontmatter author block to always be an array
* Small markdown formatting tweaks
7 years ago
shifengchen
92a57bd920
Edit two errors in docs ( #9659 )
8 years ago
Keyan Zhang
bc9f9d29e2
Add a link to "State Updates are Merged" in the forms doc ( #8851 )
* Added a link to "State Updates are Merged"
* better inline links
* moved the explanation down
* Minor unrelated tweaks
8 years ago
Dan Abramov
25be2b63bd
Clarify use of ES6 idiom in Forms doc
8 years ago
Keyan Zhang
6ab71526ee
Add "Handling Multiple Inputs" to Forms doc ( #8552 )
* added "Handling Multiple Inputs"
* renamed and added a codepen
* simplified the example
8 years ago
Dan Abramov
aad104265a
Tweak examples
8 years ago
Marcy Sutton
017a36c6f9
fix(a11y): add missing labels to forms doc
Showing how to create a form without labeling inputs is an accessibility anti-pattern. This change adds labels to the examples to address that. Codepen may still need to be updated depending on how that example is created.
8 years ago
Kevin Lacker
809e28223e
forms breakup
8 years ago
Kevin Lacker
d068700a40
Docs: add a bunch of redirects ( #8137 )
* add a bunch of redirects
* add more redirects
8 years ago
Yura Chuchola
47215f9d06
Update forms.md ( #8136 )
The component Form in "Uncontrolled Radio Button" example doesn't need state, because it does not used in render() method.
8 years ago
Dan Abramov
b47e2d77c5
Consistent CodePen links in docs
8 years ago
王晓勇
cc0050ddeb
Update forms.md ( #8121 )
8 years ago
Dan Abramov
74eac9addd
Tweak Forms
8 years ago
Eric Nakagawa
5b407f2379
Docs update - Additional ( #8115 )
* Reapplied fixes to updated docs from master
* Reapplied fixes to Forms, removed ES2016 function includes()
* Missing carriage return
* Adding back some line breaks
* Making requested changes.
* Making space changes
* Fixed typo and removed unnecessary hyphen.
* Reworded select, and highlighted line
* Fixed string styles
* Refactored <label> to use htmlFor
* Another refactor of <label>
* Removed name prop from radiobutton
8 years ago
Eric Nakagawa
e5ca6f513a
Forms Update ( #8112 )
* Reapplied fixes to updated docs from master
* Reapplied fixes to Forms, removed ES2016 function includes()
* Missing carriage return
* Adding back some line breaks
* Making requested changes.
* Making space changes
8 years ago
Dan Abramov
842d44dfa5
Fix redirects
8 years ago
Kevin Lacker
aa9544bfac
New Documentation
8 years ago