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
Dan Abramov
474de38b2c
Use another example
6 years ago
Dan Abramov
110a318d1e
Link to a data fetching demo
6 years ago
Dan Abramov
2cd4d0cf5d
Add more info to FAQ about deps ( #1815 )
* Add more info to FAQ about deps
* 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>
* 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>
* Update content/docs/hooks-effect.md
Co-Authored-By: gaearon <dan.abramov@gmail.com>
* tweaks
* tweak
6 years ago
Mark Murray
d6d30b6c35
Rename App class component to Counter ( #1739 )
6 years ago
lsdsjy
acb2fd4330
Update render-props.md ( #1776 )
Update React Router render func URL
6 years ago
Arvindeva Wibisono
cda11db7eb
Fixed typo ( #1786 )
'minifed' -> 'minified'
6 years ago
Raed CHAMMAM
8803c6375b
Fix CRA code splitting link ( #1765 )
6 years ago
Adam Markon
c6b6dc2d56
Stop calling function components stateless ( #1760 )
These docs still refer to function components as "stateless function components" despite the fact that function components aren't necessarily stateless (anymore). The docs shouldn't use this outdated terminology anymore.
I left the "stateless" in the link to avoid breaking existing links to these docs but can remove if keeping links valid isn't a priority.
6 years ago
Gasim Gasimzada
8e805d7995
Add missing `avatarSize` in "Before you use context" to text and code ( #1737 )
6 years ago
santa claus
aa8adc49a7
Update getting-started.md >> "Online Playgrounds" ( #1733 )
adding a hello world template on glitch.com to the list of online playgrounds 🎏
6 years ago
Dan Abramov
f99cc73499
Revert "Small typo fix" ( #1738 )
* Revert "Small typo fix"
* Update hooks-faq.md
6 years ago
David Svetlecic
7b5f4cf604
Add 'you'
6 years ago
Alexey Pyltsyn
0948bf553e
Update static-type-checking.md
6 years ago
Dan Abramov
2819a0f0eb
Remove the "experimental" wording from Hooks intro ( #1709 )
6 years ago
Vasiliy Vanchuk
6716745776
Update static-type-checking.md
6 years ago
Vasiliy Vanchuk
aaefe69287
Fix command for initializing tsconfig
Project dependency doesn't add itself it global PATH. So call `tsc` will work either with globally installed typescript, or from npm/yarn script.
6 years ago
Tauan Tathiell
f5ccd7e255
It solves a broken link on HOC doc
6 years ago
Saransh Kataria
87f5b7ba90
updated broken link on HOC documentation
6 years ago
Romain Linsolas
e3f43f5bdd
Fix shallow renderer link on test utils page
6 years ago
Dan Abramov
6bd4173a4e
Revert "Update nav"
This reverts commit 482ba66ba6
.
6 years ago
Dan Abramov
482ba66ba6
Update nav
6 years ago
Nat Alison
cde52ae60d
add missing headings on hooks-faq
6 years ago
Tauan Tathiell
d9f15c2279
It changes the fiber link inside codebase overview page
6 years ago
Peng Jie
4647eeacf0
docs(hooks): fix break link
6 years ago
Dan Abramov
486dac1c67
Remove unnecessary/confusing "unordered"
6 years ago
Alexander Kuznetsov
564dbc705f
Descriptive link text for accessibility ( #1659 )
6 years ago
Dan Abramov
e3cf542e75
Fix line numbers
6 years ago
Dan Abramov
741dc3b5f1
Just throw
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
adeel.imran
4aa208e59d
updated grammer
6 years ago
Nat Alison
25df15b83e
reapply, correctly generating links
6 years ago
Nat Alison
dc1e5366e3
revert id adding
6 years ago
Nat Alison
5529642720
fix effect hook error
6 years ago
Nat Alison
3e49e971d0
add everything else again
6 years ago
Dan Abramov
d20be53455
Document test renderer act (temporary fix)
6 years ago
Prashant Andani
573da86666
Add https for javascript.info
6 years ago
Rafael Cammarano Guglielmi
be56e22bf6
Fix typo on hooks availability
Might make people that are going through the docs confused.
6 years ago
Brian Vaughn
a0db3e7f17
Replaced inaccurate comments
6 years ago
Dan Abramov
601c016f49
testing
6 years ago
Dan Abramov
d97cdcac7f
tweaks
6 years ago