Brian Vaughn
17eae3952d
Fix "master" to "main" renaming mistakes ( #3770 )
4 years ago
Brian Vaughn
620d360621
Updated master -> main references ( #3769 )
4 years ago
Brian Vaughn
d456dfbd29
Update docs and config to replace "master" with "main" branch
https://github.com/facebook/react/issues/21767
4 years ago
Andrea Tupini
6618bcc734
Fix broken link to devtools ( #3715 )
4 years ago
vikram menon
c970f75a0a
Fix 404 broken link for createFragmentContainer ( #3598 )
4 years ago
MohammadReza
f595f22c72
Added reconciliation link. ( #2614 )
Co-authored-by: Sunil Pai <threepointone@oculus.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
4 years ago
Chris Wilson
ec07e80be0
Remove prev/next links from the Advanced Guide ( #3269 )
4 years ago
Eduard Poracký
d16f1ee795
Add next and previous links to Advanced Guides ( #540 )
Co-authored-by: Eduard Poracký <eporacky@trionyx.sk>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
4 years ago
Tom Beckenhauer
e3a6479989
Update legacy lifecycle methods ( #2435 )
* Update legacy lifecycle methods
componentWillReceiveProps -> componentDidUpdate
* Update legacy lifecycle methods
componentWillReceiveProps -> componentDidUpdate
* Update higher-order-components.md
Co-authored-by: Sunil Pai <threepointone@oculus.com>
5 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
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
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
Dan Abramov
81afcfbd87
Functional -> function ( #863 )
6 years ago
Chafic Najjar
858d2886f9
s/function components/functional components ( #711 )
A stateless React component is referred to as a "functional component" throughout the documentation, not a "function component".
7 years ago
Chafic Najjar
d1d228099d
Fix grammar mistake in higher-order-components.md
The word "logic" here is singular so it should be referred to with "it" instead of "them".
7 years ago
Brian Vaughn
201fcadfa7
Added React.forwardRef to API and docs
7 years ago
邪无神
49e79e3f08
fix( #460 ) 404 link of Relay's createContainer API in doc HOC ( #468 )
7 years ago
Dani Lewandowski
1dd43b2a53
Fixed an to a HOC
7 years ago
Noel C
395636caa7
Update higher-order-components.md
7 years ago
Yangshun Tay
7c6f185134
Ensure all class constructors call super with props
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
zhangs
ef2547a4cb
the order of withRouter and connect is reset ( #10658 )
per [this link](https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/api/withRouter.md ) becasue ` If you are using withRouter to prevent updates from being blocked by shouldComponentUpdate, it is important that withRouter wraps the component that implements shouldComponentUpdate. `
7 years ago
newvlad
526056d9bb
Create higher-order-components.md ( #9976 )
8 years ago
Mario Souto
56fef536f8
Remove extra brace ( #9910 )
8 years ago
Billy Shih
8c1de5dbba
Fix typo ( #9717 )
The example explaining how redux's connect works doesn't use the same component name. Line 264 references (Comment) while 274 referenced (CommentList). Changed 264 to match 274.
8 years ago
Dmitry Zhuravlev-Nevsky
f45d6f3925
Update higher-order-components.md
8 years ago
Superlaziness
b2f388cd91
fix HOC doc ( #8802 )
8 years ago
Iurii Kucherov
85b5d37961
Update higher-order-components.md ( #8780 )
8 years ago
Bruno Heridet
ca173ef961
docs(hoc): fix typo Rambda → Ramda ( #8712 )
8 years ago
Piotr Czajkowski
095b1ec6f7
"Don't Mutate the Original Component" example and description mismatch ( #8695 )
8 years ago
Piotr Czajkowski
76a149320b
Higher-Order Components docs withSubscription() example fix ( #8694 )
8 years ago
Andrew Clark
e3d37fdb90
Add a document on higher-order components ( #7869 )
8 years ago