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
2019-03-19 17:12:44 +00:00
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 >
2019-03-19 15:28:18 +00:00
Dan Abramov
352c3ff01f
Fix example
2019-03-13 18:24:10 +00:00
Dan Abramov
877b189758
Fix wording
2019-03-13 15:46:05 +00:00
Dan Abramov
474de38b2c
Use another example
2019-03-13 15:42:01 +00:00
Dan Abramov
110a318d1e
Link to a data fetching demo
2019-03-13 15:38:51 +00:00
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
2019-03-13 13:59:42 +00:00
Dan Abramov
f99cc73499
Revert "Small typo fix" ( #1738 )
...
* Revert "Small typo fix"
* Update hooks-faq.md
2019-02-23 11:29:51 +00:00
Alexey Pyltsyn
d615c5b7bc
Merge pull request #1317 from tusharkhatiwada/typo-hooks-faq
...
Small typo fix
2019-02-23 00:32:58 +03:00
David Svetlecic
7b5f4cf604
Add 'you'
2019-02-20 16:38:42 -06:00
Saransh Kataria
c8184872f8
Merge pull request #1324 from moroshko/patch-6
...
Tip => Note
2019-02-19 19:09:55 -08:00
Nat Alison
cde52ae60d
add missing headings on hooks-faq
2019-02-12 14:47:38 -08:00
Nat Alison
25df15b83e
reapply, correctly generating links
2019-02-06 18:03:29 -08:00
Nat Alison
dc1e5366e3
revert id adding
2019-02-06 18:00:52 -08:00
Nat Alison
3e49e971d0
add everything else again
2019-02-06 17:22:04 -08:00
Brian Vaughn
a0db3e7f17
Replaced inaccurate comments
2019-02-05 18:39:25 +00:00
Dan Abramov
601c016f49
testing
2019-02-05 18:05:36 +00:00
Dan Abramov
d460a9b106
Docs updates
2019-02-04 15:34:23 +00:00
Dan Abramov
f510e11312
Reword intro
2019-01-25 18:08:48 +00:00
Dan Abramov
08b6e4b876
Update docs for stable Hooks
2019-01-24 18:07:22 +00:00
Dan Abramov
024b5b6173
Bump alpha
2019-01-20 20:31:35 +00:00
Dan Abramov
a946fb3783
Warn against side effects in useMemo ( #1576 )
2019-01-19 19:52:32 +00:00
Dan Abramov
26b0eb258a
typo
2019-01-17 17:31:10 +00:00
Dan Abramov
9b5638f034
Tweak useMemo wording ( #1569 )
...
* Tweak useMemo wording
* Update hooks-faq.md
* Update hooks-reference.md
* Be more specific
2019-01-17 17:10:05 +00:00
Dan Abramov
1a49812370
Clarify conflicting advice
2019-01-17 13:25:41 +00:00
Dan Abramov
d7d5533278
[Hooks] Add recommendations about useMemo and lazy init ( #1565 )
2019-01-16 23:41:45 +00:00
Sunil Pai
53222c7f86
rename useImperativeMethods -> useImperativeHandle
2019-01-10 13:09:16 +00:00
Dan Abramov
92d96a3ca4
Bump documented Hooks version
2019-01-09 21:03:48 +00:00
Jamie
0c6a26ff9e
Hooks proposal has been accepted ( #1485 )
2018-12-12 12:57:15 -08:00
Sophie Alpert
59a80a6010
Remove useMutationEffect docs ( #1440 )
...
https://github.com/facebook/react/pull/14336
2018-11-28 13:42:27 -08:00
Cory House
0e3d2a690c
Grammar fix ( #1435 )
2018-11-28 19:47:22 +00:00
Dan Abramov
d034688387
Add a disclaimer
2018-11-02 17:30:28 +00:00
Dan Abramov
145debb391
useMutationEffect for updating a ref to latest value ( #1363 )
2018-11-02 17:14:04 +00:00
Misha Moroshko
451a96c311
Tip => Note
...
"Tip" usually contains an action for you to perform.
"Note" is more appropriate here since it's just an FYI.
2018-10-26 16:18:29 -07:00
Misha Moroshko
a1c7038255
Remove highlighted line in code example ( #1322 )
2018-10-26 15:39:29 -07:00
Tushar Khatiwada
a531a0f89d
Small typo fix
2018-10-26 15:31:58 +05:45
Michael Fix
da720361ed
Update hooks-faq to use React.memo instead of React.pure ( #1305 )
2018-10-25 10:07:42 -07:00
Sebastian Markbage
83c2086e29
Update rfc links
2018-10-25 09:25:56 -07:00
Sophie Alpert
d0d1fed2d0
Add documentation for Hooks proposal
...
Co-Authored-By: Dan Abramov <dan.abramov@gmail.com >
Co-Authored-By: Sophie Alpert <git@sophiebits.com >
2018-10-25 07:09:38 -07:00