ZachMayer
03260d7149
[docs] Updated required node and npm versions to match CRA docs in 'docs/create-a-new-react-app.html' ( #2099 )
https://facebook.github.io/create-react-app/docs/getting-started
6 years ago
Dom
aa84270837
Fixed broken link to discuss.react.org ( #2107 )
* Replaced broken discuss.reactjs.org link
On the how-to-contribute page, there is a broken link under the https://reactjs.org/docs/how-to-contribute.html#how-to-get-in-touch section. As outlined in https://github.com/reactjs/reactjs.org/issues/2080 `discuss.reactjs.org` isn't reachable.
I edited the text to display `Discussion Forums` which links to https://reactjs.org/community/support.html#popular-discussion-forums (as I was unable to find an official reactjs discussion forum).
* fixed text case
changed `Discussion Forums` to `Discussion forums`
6 years ago
Matt Wood
6a6b9170f4
Fixed minor code-splitting.md typo ( #1292 )
* Fixed minor code-splitting.md typo
* Update code-splitting.md
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
6 years ago
Jesse Jackson
1705c25143
Improve grammar ( #2106 )
6 years ago
Vlad
4d1197b3be
Add description of PropTypes.exact ( #1581 )
Info from https://github.com/facebook/prop-types#usage
6 years ago
Riley Avron
cb5a61cdbf
Add missing function call to example ( #2102 )
An example for useEffect omitted the actual invocation of the function in question.
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
iqbal125
899411236d
old link to outdated version of jest ( #2088 )
This link is pointing to a much older version of Jest. I have added a link to the current page for snapshot testing for the current version of jest.
6 years ago
Jan Rochalski
263ef8b5fd
chore/and operator instead of ternary operator ( #2064 )
6 years ago
Kent C. Dodds
6d006ccc33
Update React Testing Library name ( #2061 )
Since the package was renamed to `@testing-library/react` we're trying to encourage people to drop writing "react-testing-library" in favor of "React Testing Library"
6 years ago
kyarik
c93286c071
Some fixes to the Accessibility guide ( #2047 )
Added missing code indentation; removed an extra "an"
determiner in a sentence.
6 years ago
Brendan Falkowski
23b242edc4
Say "disconnecting" not "plugging out" your mouse ( #2037 )
The previous phrase "plugging out" is uncommon in English. Saying "disconnecting" is better than "unplugging" because many mouse users have wireless mice, and is more accurate.
6 years ago
Angelos Orfanakos
2dccf4699d
Remove redundant "reading" word from hooks faq ( #2036 )
6 years ago
Ilkwon Sim
57b6d76841
Fix wrong sentences line break
6 years ago
Max Wizard K
1f27bba948
Updating link to the article about React internals ( #2022 )
6 years ago
Gavin Elster
8d9b002130
Fix typo ( #2021 )
* Fix typo
Adds a missing word
* Update content/docs/hooks-faq.md
Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
6 years ago
Gavin Elster
dda5b49f45
Swap word order ( #2020 )
Figure this was a typo
6 years ago
Niklas Mollenhauer
e12c973cf1
Update core-js includes ( #2007 )
The path seem to have changed in the latest `core-js` package. https://github.com/zloirock/core-js/tree/master/packages/core-js
6 years ago
Matthew
8e6343b5a6
Fix broken webpack production guide link in "Optimizing Performance" page. ( #2011 )
6 years ago
Misha Moroshko
b3d4fe5efb
Keep hook links consistent ( #1323 )
6 years ago
Tajammul Pasha
2d664c178a
fixed svelte-js broken link ( #2010 )
6 years ago
Brent
06deefa567
Update hooks-effect.md ( #2005 )
6 years ago
Aaron Mast
d2d2ee420d
Fix useReducer example ( #1992 )
6 years ago
Alex Krolick
c8703314dd
update faq on perf with function props ( #1994 )
6 years ago
Kent C. Dodds
b91049c057
inputs array > dependencies array ( #1957 )
* inputs array > dependencies array
I think initially this was referred to as the "inputs array" in the docs, then it was changed to the "dependencies array" everywhere except it looks like a few were missed.
* inputs array > dependencies array
I think initially this was referred to as the "inputs array" in the docs, then it was changed to the "dependencies array" everywhere except it looks like a few were missed.
6 years ago
Peng Jie
a211417f66
fix(terms): treeshaking -> tree shaking ( #1977 )
6 years ago
Dan Abramov
ad6687e25e
Simplify the observer example
6 years ago
0xnoob
b1691780aa
previous page link not linking to previous page, but to the second last. ( #1959 )
* previous page link is not linking to the previous page, but to the second last.
The example code is on both, the `Introducing Hooks` as well as `Hooks at a Glance` page, but the linked page is the `Introducing Hooks` and I think that's the right one (the `Hooks at a Glance` page probably got added later?).
Not sure about the phrasing so, having "introduce" twice in one sentence ...
* Update content/docs/hooks-state.md
Co-Authored-By: 0xnoob <49793844+0xnoob@users.noreply.github.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
6 years ago
0xnoob
8c39db7f07
Broken anchor link in Advanced Concepts. ( #1951 )
The link should probably either go to directly to the beginning of main concepts (which is what my proposes change does), or to the anchor -tag of "Step-by-Step Guide" (#step-by-step-guide). There is no other link in the article which refers to another anchor-tag, that's why I chose to directly link to the main-concepts.
6 years ago
Alexey Pyltsyn
066479b69a
Generate ids for new headers
6 years ago
ANOTHER GUY
6bc6e7b141
Fix the link so that it navigates to anchor rather ( #1816 )
* Fix the link so that it navigates to anchor rather
* Update create-a-new-react-app.md
6 years ago
Camilo Giraldo
f4a67ffdfb
Fix for 1874 broken link ( #1902 )
6 years ago
Lokesh Kumar
a2d69c68ae
Update create-a-new-react-app.md ( #1400 )
Fixes typo flexiblity
6 years ago
renato
621f4c87bd
lowercase link to React.createElement section ( #1509 )
6 years ago
Quentin Bahers
dcfc0bbb10
Fix the "Releases" link in the "Getting Started" page ( #1530 )
6 years ago
José Antonio Chio
7be4caf210
Update ESLint Plugin installation command ( #1758 )
6 years ago
Sunil Pai
2aa3c54e08
Update addons-shallow-compare.md ( #1924 )
6 years ago
Wojtek
59c3c0a155
Fix explanation of the `useState` example in 'Hooks API Reference' page ( #1881 )
6 years ago
Saransh Kataria
d0f2db967a
removed sentence since functions can have state ( #1878 )
With introduction of hooks, that statement is not valid anymore
6 years ago
pavan
6faeeb809f
Adding immer in the list of immutable libraries ( #1839 )
* Adding immer in the list of immutable libraries
* Update optimizing-performance.md
6 years ago
Saransh Kataria
e744030ad0
removed line as functions can have state now too ( #1783 )
* removed line as functions can have state now too
* removed this.setState line from docs
6 years ago
Dan Abramov
b1bc193dba
Document useContext bailout strategy ( #1848 )
6 years ago
Dan Abramov
ac4aa6546e
Add more explanations to Hooks API page ( #1845 )
* Add more explanations to API page
* static
* add info about useLayoutEffect
* Update content/docs/hooks-reference.md
Co-Authored-By: gaearon <dan.abramov@gmail.com>
* nits
* nit
6 years ago
Dan Abramov
806da34988
Add a DOM measurement recipe to Hooks FAQ ( #1843 )
* Add a DOM measurement recipe to Hooks FAQ
* Update content/docs/hooks-faq.md
Co-Authored-By: gaearon <dan.abramov@gmail.com>
* Update content/docs/hooks-faq.md
Co-Authored-By: gaearon <dan.abramov@gmail.com>
6 years ago
Arthur Denner
877431a60b
Fix previous article on hooks-effect.md ( #1802 )
Hi! 👋
This PR only fixes the `Previous article` link on [this page](https://reactjs.org/docs/hooks-effect.html ).
Once this get merged, do I need to open a similar PR in each one of the translation repos?
6 years ago
Dimitar Nestorov
40bbbd5b10
Updating useMemo docs ( #1796 )
https://codesandbox.io/s/4x68k8nrw
6 years ago
Manuel Bieh
3e489fc2f9
Fixing incorrect value for eslint rule ( #1824 )
The name for the "warning" level in ESLint is `warn` not `warning` (https://eslint.org/docs/user-guide/configuring#configuring-rules )
6 years ago
Dan Abramov
352c3ff01f
Fix example
6 years ago
Dan Abramov
877b189758
Fix wording
6 years ago