Dan Abramov
e3cf542e75
Fix line numbers
2019-02-08 20:37:28 +00:00
Dan Abramov
741dc3b5f1
Just throw
2019-02-08 20:16:30 +00: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
5529642720
fix effect hook error
2019-02-06 17:34:41 -08:00
Nat Alison
3e49e971d0
add everything else again
2019-02-06 17:22:04 -08:00
Dan Abramov
d20be53455
Document test renderer act (temporary fix)
2019-02-06 18:26:26 +00:00
Rafael Cammarano Guglielmi
be56e22bf6
Fix typo on hooks availability
...
Might make people that are going through the docs confused.
2019-02-06 10:14:22 +00: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
d97cdcac7f
tweaks
2019-02-05 16:05:05 +00:00
Dan Abramov
d460a9b106
Docs updates
2019-02-04 15:34:23 +00:00
Dan Abramov
9d62821e9e
Tweak refwording
2019-01-25 18:12:30 +00:00
Dan Abramov
f510e11312
Reword intro
2019-01-25 18:08:48 +00:00
Dan Abramov
4d61b4a19d
Add Hooks to reference page
2019-01-25 15:22:36 +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
Brian Vaughn
0ace70f43d
Added useDebugValue formatter function
2019-01-17 10:50:09 -08: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
Brian Vaughn
924e76dc1b
Merge pull request #1544 from threepointone/master
...
rename useImperativeMethods -> useImperativeHandle
2019-01-15 15:32:11 -08:00
Brian Vaughn
efcbcc5a58
Wordsmithing
2019-01-15 13:50:53 -08:00
Brian Vaughn
4c29b69558
Add docs for useDebugValue
2019-01-15 13:04:49 -08:00
Alex Krolick
165ae047b4
Add note about Promise polyfill for React.lazy ( #1556 )
...
* Add note about Promise polyfill for React.lazy
Fixes #1552
* Backticks
2019-01-15 10:11:28 -08:00
Sunil Pai
06b08a238d
Merge remote-tracking branch 'upstream/master'
2019-01-15 16:06:12 +00:00
Dan Abramov
60dd46d64b
Revert "Extended JavaScript environment requirements polyfills list with a promise ( #1553 )" ( #1554 )
...
This reverts commit cda991046a .
2019-01-15 11:44:47 +00:00
Alex Chernenko
cda991046a
Extended JavaScript environment requirements polyfills list with a promise ( #1553 )
2019-01-14 14:51:19 -08:00
Dan Abramov
71aa4faa43
Remove unnecessary newline
2019-01-14 18:26:02 +00:00
Sunil Pai
1b8dd36ae1
createInstance -> createHandle
2019-01-10 14:47:51 +00:00
Sunil Pai
53222c7f86
rename useImperativeMethods -> useImperativeHandle
2019-01-10 13:09:16 +00:00
Aditya Agarwal
b5fa1df64f
Reset button should set the state back to initialCount ( #1327 )
2019-01-10 11:46:33 +00:00
Dan Abramov
92d96a3ca4
Bump documented Hooks version
2019-01-09 21:03:48 +00:00
0xflotus
3f7a7ddccf
fixed renderer
...
I fixed only a typo
2019-01-06 23:34:07 +01:00
Dan Abramov
6f2e26f21c
Rearrange TS section a bit
2019-01-03 15:41:57 +00:00
Dan Abramov
ac426af02c
Reword a confusing sentence
2019-01-02 19:26:56 +00:00
Mikhail Vasin
dbcc9c249a
Update version expected to include hooks ( #1511 )
...
* Update version expected to include hooks
16.7.0 does not include hooks, I suppose 16.8 could include them.
* Remove specific version
2019-01-02 19:22:29 +00:00
Vincent
97831ab0c3
Add link to docs on Firefox's A11y inspector ( #1525 )
2019-01-02 19:21:35 +00:00
Jamie
0c6a26ff9e
Hooks proposal has been accepted ( #1485 )
2018-12-12 12:57:15 -08:00
Brian Vaughn
9e8bfd6de6
Moved UNSAFE_ renaming notes higher up to be more easily noticed
2018-12-06 13:01:39 -08:00
Brian Vaughn
cfc6d90d28
Changed wording about UNSAFE_componentWillReceiveProps deprecation
2018-12-06 09:40:35 -08:00
Max Wizard K
76dae99348
Referenced a Fiber architecture explanation ( #1448 )
...
Added a link to an article that provides an in-depth explanation of Fiber architecture.
2018-11-30 15:10:13 +00:00
Dan Abramov
0c96df0cd1
Add Suspense and lazy to API reference ( #1446 )
...
* Add Suspense and lazy to API reference
* Update content/docs/reference-react.md
Co-Authored-By: gaearon <dan.abramov@gmail.com >
* Simplify
2018-11-29 23:46:00 +00:00
Ben Schwarz
963a9d5003
Updated article link to the canonical source ( #1444 )
2018-11-29 02:06:18 +00: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
rthurgood
13959877d3
Update context.md ( #1420 )
2018-11-21 18:09:17 +00:00
David Edmondson
5284091bdd
Replace unmaintained react-loadable package with loadable-components. ( #1407 )
...
* Replace react-loadable with two active alternatives.
`react-loadable` no longer has an active maintainer. Only personal forks are available for Webpack 4 + Babel 7 support.
* Remove react-universal-component.
Change recommendation to only `loadable-components` and link directly to the SSR documentation.
2018-11-19 18:31:02 +00:00