AbdelRahman Hatem
6fa9dedb72
Fix Robin Pokorny’s article link ( #4867 )
Fix Robin Pokorny’s Index as a key is an anti-pattern article link
Notes:
Link is not working neither in my PC nor my phone.
I tried to open it in incognito browser and didn't work.
I don't know the website works in all countries or not but here in Cairo, Egypt doesn't work.
And this is not the first link I encountered doesn't work
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
Luke Ingalls
68e4efcf93
Added missing comma and removed a few redundant words ( #3725 )
4 years ago
a-oz
4e0e1eb870
Update lists-and-keys.md: eliminate huge space between properties ( #2980 )
5 years ago
Dan Abramov
486dac1c67
Remove unnecessary/confusing "unordered"
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
Ivan de la Beldad Fernandez
b044ce5dbb
docs: fix minor typo ( #1038 )
7 years ago
Dan
db66436112
Make CodePen links more prominent and consistent
7 years ago
Chester Law
f97629e6f0
Fix grammar in List and Keys documentation ( #854 )
7 years ago
Hugh Prior
788d5094d8
Update lists-and-keys.md ( #559 )
I think the word "root" is misleading here. For me the root implies a single item, and the <li> here is more of a leaf. I think we can avoid all confusion simply by removing the word.
7 years ago
Brian Vaughn
157501a48c
Split last sentence into its own paragraph
7 years ago
Brian Vaughn
97d4949954
Wordsmithing
7 years ago
Matthew Holman
4adc854d6d
Added link explaining danger of using index as key
7 years ago
Brian Vaughn
211963bfd4
Wordsmithing
7 years ago
ajcumine
6f0dfce69e
fix link to reconciliation docs
7 years ago
ajcumine
485f1493be
Added details and codepen examples for index usage as keys in lists
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
Lipis
f699010cfc
Rename Javascript to JavaScript ( #9796 )
8 years ago
Dan Abramov
b47e2d77c5
Consistent CodePen links in docs
8 years ago
Jae Hun Lee
6e1411c4f1
Update lists-and-keys.md ( #8090 )
There is mismatching variable name both definition and usage.
In line 156, an argument name called item is change to match the usage in line 158.
8 years ago
Ragnar Þór Valgeirsson
7aab5cf706
Convert the Number component to ListItem ( #8039 )
* Convert the Number component to ListItem
* Add updated example CodePen
Also fixes typos.
8 years ago
Kevin Lacker
aa9544bfac
New Documentation
8 years ago