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
Aniruddha Shriwant
f062ee271b
[docs]: Updated CodePen links ( #4232 )
Signed-off-by: Aniruddha Shriwant <aniruddhashriwant@gmail.com>
3 years ago
Strek
569949e266
Fix jsx example for string attributes ( #4204 )
3 years ago
Luckner
c8d19412dd
Fix typo in Introducing JSX snippet ( #3417 ) ( #3418 )
4 years ago
Edward
5e437a10ed
Change tabIndex to match the types (string to number) ( #3409 )
Co-authored-by: Edward Baggott <edward.baggott@shellenergy.co.uk>
4 years ago
Ezio Tedeschi
8c2865e3ab
fix(content/docs): Fix broken link ( #3329 )
Change broken link in documentation for Babel editors.
4 years ago
Abdulaziz Sirojiddinov
0c6d760ab5
adding next section url path ( #2742 )
adding next section URL path at the end in order to ease readers follow steps
5 years ago
Vinoth Kumar
071f5b0e16
Update introducing-jsx.md ( #2660 )
* Update introducing-jsx.md
* Fix formatting
Co-authored-by: Sophie Alpert <git@sophiebits.com>
5 years ago
Vinoth Kumar
f2cffb8ca4
Link is not working (Domain expried) ( #2636 )
5 years ago
tcope25
bc8e1986d4
Fix broken link ( #2642 )
The site doesn't load so it's best to link to the updated Github repo.
5 years ago
Michał Gołębiowski-Owczarek
7e4ac52af4
HTTPS-ify most insecure URLs in content/docs (& one in Acknowledgments)
This is a followup to #1157
6 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
db66436112
Make CodePen links more prominent and consistent
7 years ago
Stephane Moreau
f03e9c785d
"Introducing JSX" is missing a step ( #812 )
* Introducing JSX is missing a step
* Tweak
7 years ago
rk162
1f21aaabb2
Update introducing-jsx.md ( #761 )
7 years ago
Jonathan Pool
fdf409a7d1
Grammatical disambiguation ( #504 )
Prevents interpretation as “JSX is closer to JavaScript than HTML is”. The latter is obviously true, but the apparent meaning is the former, which is less obvious.
7 years ago
Ravshan Samandarov
1b80d3658e
Update introducing-jsx.md ( #443 )
7 years ago
Dan Abramov
a3e8023829
Add "Why JSX" ( #424 )
* Add "Why JSX"
* Update introducing-jsx.md
7 years ago
Brian Vaughn
4614ab0791
Whitespace
7 years ago
Brian Vaughn
3f6854d081
Changed Codepen link protocol from 'codepen:' to 'codepen://' for improved clarity
7 years ago
Brian Vaughn
6fd0d7950e
Added custom remark transform for Codepen example links
7 years ago
Brian Vaughn
6eef46d1cb
Renamed 'examples' folder to 'codepen' for clarity
7 years ago
Charlotte Tan
7238d4244e
Updating "caveat" to "warning"
Updating "caveat" to "warning" as suggested in #155
7 years ago
Eric Simons
d255c1afc6
sync js files to codepen
7 years ago
Brian Vaughn
93aa551f1a
Reorganized 'docs' folder
7 years ago
Dan Abramov
1459bf4e11
Tweaks to "Introducing JSX" ( #10944 )
* Tweaks to "Introducing JSX"
* Update introducing-jsx.md
* Update introducing-jsx.md
* Update introducing-jsx.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
Moacir Rosa
a70df84837
Only fix a small wrong key in example ( #8976 )
Only fix a small wrong key in example
8 years ago
Justin Grant
f7ea62e491
Reminder: strip quotes from attributes with JS code ( #8806 )
* Reminder: strip quotes from attributes with JS code
Web developers who are used to standards-compliant HTML and XML will, out of habit, put quotes around all attributes because the standards require them. Other templating systems like ASP.NET also require (or at least allow) quotes around attributes that contain code. This behavior will get users into trouble in JSX because a quoted attribute is always treated as a string literal, even if it contains curly-braced javascript code. Let's add to the docs to help newbies evade this problem.
* Tweak wording
8 years ago
DQNEO
aa9abe5fde
use an easier word ( #8809 )
* use an easier word
The word `mandatory` is relatively difficult for people with ESL (English as a second language), so I propose an alternative word.
This would be much easier to understand.
* use simpler word
8 years ago
Dan Abramov
5c995eebba
Small nit: add a sentence about readability back
8 years ago
Shubheksha Jalan
448aa90482
Improved some sections of the introducing JSX docs
8 years ago
Andreas Möller
823154cbfc
Fix: Remove unneeded else branches from documentation examples
8 years ago
Lewis Blackwood
3aa40ba6a3
Correct usage of formatName() function in docs ( #8122 )
The code section above these changes defines a `formatName` function
that expects a parameter `user`. The code section containing these
changes incorrectly called `formatName(user.name)`. For those following
along with CodePen, this section should correctly call
`formatName(user)`.
8 years ago
Kevin Lacker
aa9544bfac
New Documentation
8 years ago