Andreas Schlapbach
4b5c413054
Fixed a sentence ( #4950 )
2 years ago
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
Erol Aliyev
4133943e71
Fix broken link ( #3953 )
3 years ago
Nico Lovejoy
e5f91308e1
minor update to wording for thinking-in-react.md ( #3814 )
3 years ago
André Elmoznino Laufer
cabe649090
docs: Improve "Thinking in React" for color-blind people ( #3883 )
3 years ago
Luke Ingalls
68e4efcf93
Added missing comma and removed a few redundant words ( #3725 )
4 years ago
Kevin Menard
986381c568
Update an example to use a more accurate abbreviation. ( #2201 )
5 years ago
Colin
eef56ffdcf
Add a relevant FAQ link in "Thinking In React" ( #2170 )
6 years ago
Emma
39f30d4211
Update thinking-in-react.md ( #2098 )
Follow up to https://github.com/reactjs/reactjs.org/pull/2095#discussion_r296498172
6 years ago
Emma
92ad9c2f7a
Update thinking-in-react.md ( #2095 )
Please refer to https://justsimply.dev for the thinking behind these proposed changes.
6 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
Fatos Morina
728b6f89d8
Hyperlink DRY
7 years ago
Daniel Bird
37c9963889
Load CodePen script once
7 years ago
Brian Vaughn
eb1994b0d2
Fixes to markdown content/paths
7 years ago
Brian Vaughn
93aa551f1a
Reorganized 'docs' folder
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
Dan Abramov
79e27af02b
Update docs for React 16 ( #10846 )
7 years ago
Guilherme Ruiz
1b4a714e0f
Fix the data-height of Step 5 CodePen embed ( #10083 )
8 years ago
Dan Abramov
3b5ed4b56e
Update Thinking in React embed to match the link ( #8996 )
8 years ago
Rohan Nair
61990a77c5
Updating Thinking in React doc to replace refs with event handlers ( #8815 )
* Updating Thinking in React doc to replace refs
* Updating doc copy to reflect changes to example
8 years ago
Liz
081c20f66f
👏 designers are friends, not fodder for jokes ( #8523 )
8 years ago
Satoshi Nakajima
1a5d504fb2
Replaced old refs with new callback refs ( #8254 )
8 years ago
Kevin Lacker
d068700a40
Docs: add a bunch of redirects ( #8137 )
* add a bunch of redirects
* add more redirects
8 years ago
Giuseppe
e0704b2590
Docs replace reference to 'getInitialState' with 'state' instance property in "Thinking in React" ( #8059 )
8 years ago
Kevin Lacker
aa9544bfac
New Documentation
8 years ago
Paul O’Shannessy
24d53c1c37
Finish Jekyll 3 Upgrade
- Reverts change to use sectionid on layouts (was unreliable), using config to make sure that's specified on all pages that need it
- Adds permalinks to all other pages so that og data is correct
- Corrects some permalinks that were in correct (translations)
9 years ago
Claudio Brandolino
1cadb2e74d
Standardise format of the three "state" questions. ( #7046 )
* Standardise format of the three "state" questions.
The original format follows the template:
> 1. x? if `x` then probably isn't state
> 2. y? if `!y` then probably isn't state
> 3. z? if `z` then it's not state
This caused both me and a hallway tester to do a double take.
The proposed reformulation allows the answers to follow the same template.
In the same spirit, it uses the same contraction pattern in the last answer (`it's not state`-> `it isn't state`). This has the welcome side effect to make the lack of "probably" stand out more.
* Update phrasing in thinking in reacr
9 years ago
Denis Laxalde
413f53b500
Remove mention of deprecated ReactLink add-on ( #6535 )
9 years ago
Paul O’Shannessy
cbeea98140
[docs] Bigger jsfiddle embeds
9 years ago
Hou Chia
1f0797eeb6
Corrects grammatical errors
9 years ago
Hou Chia
b12b05b9da
Capitalizes first letter of first word in the Step 1 instruction
This proposed change makes the documentation formatting more consistent.
9 years ago
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
9 years ago
Ben Alpert
27b218ce97
Redirect Thinking in React blog post to docs
Much easier to keep this updated if it only exists in one place. Added the byline because otherwise the voice of the post doesn't sound quite right.
10 years ago
Elaine Fang
69bd1bfab4
Add punctuation
10 years ago
Tsung Hung
04fac68f10
updated some typos, grammers, and made sentences sound better
10 years ago
Elaine Fang
eda277665d
Add punctuation
10 years ago
Reed Loden
dd010b34e2
SSL/TLSize all the things! (convert http:// to https:// where appropriate)
Update links to use https:// where it is supported. There's probably a lot
more that could be fixed, but these are the core ones I found (especially
the download links in order to prevent MITM attacks). Note that there are
some fb.me links that will redirect to http:// even while accessed over
https://, but this seemed like the best way to fix those for now.
NOTE: Only non-third-party files were modified. There are references to
http:// URLs in vendored/third-party files, but seems appropriate to fix
upstream for those rather than editing the files.
Also, copy one image locally to the blog, as it was hotlinking to a site
that did not support https://.
Last, use youtube-nocookie.com instead of youtube.com for video embeds,
as the former doesn't try to set a cookie on load (privacy enhancement).
10 years ago
Stefan Dombrowski
ad7608e46b
Using https for embedded fiddles
Official announcement from jsfiddle:
https://twitter.com/jsfiddle/status/565041134435852289
10 years ago
Rick Beerendonk
2e4f81f4ab
Add Conferences section to the Community Resources on the website
10 years ago
G. Kay Lee
faca6b5b60
Update thinking-in-react.md
Make style consistent with `tutorial.md`
10 years ago
Harry Moreno
b2bb80d24b
Added note for proper example display
jsfiddles weren't showing up for me. Upon further investigation I found that changing to http fixes the embedding.
10 years ago
Paul O’Shannessy
27fbafae18
Own our fiddles so we can update them more easily
10 years ago
Ben Alpert
fb46ad0356
Update docs to align with 0.12 better
- Rename React.renderComponent -> React.render
- Remove most references to transferPropsTo
10 years ago
Jimmy Jea
2e9717cf8f
minor change to post
Hello,
I was just reading through your post and noticed a minor change. The sentence originally read, "It's scaled very well for us...". I thought it was a little unclear since it's can mean "it has" or "it is", which can make this sentence take on a whole different meaning.
10 years ago
Paul O’Shannessy
2865e4a1c8
Set default layout for docs
11 years ago
dschafer
031d8c442c
Update jsfiddles in thinking-in-react to remove onSubmit from forms
11 years ago
petehunt
d9efc5aa57
Add thinking in react to the official docs
11 years ago