Toru Kobayashi
331eb9db01
remove a reference to fbjs from codebase overview ( #1806 )
* remove a reference to fbjs from codebase overview
* Update codebase-overview.md
Co-authored-by: Sunil Pai <threepointone@oculus.com>
5 years ago
Luan Ferreira
6f0a32dab7
Fix tiny typo in is-react-translated-yet blog post ( #1833 )
5 years ago
Sai Ram Kunala
348a5b2888
add suffix / to example url ( #1861 )
was inconsistent across examples
5 years ago
Amandeep Singh
fb382ccb13
Update render-props.md ( #1940 )
5 years ago
Param Aggarwal
9fa6418ada
Update core-js import calls as per v3 ( #1971 )
5 years ago
Carl A Lewis
6c108015ae
Update code-splitting.md ( #1972 )
Added some clarity.
5 years ago
Raj Nigam
79d33dfe6e
unused React import for hooks example ( #1979 )
I believe this was just from a copy/paste from the JSX example
5 years ago
shawn
3140018914
Update getting-started.md ( #1991 )
5 years ago
Sunil Pai
30749ed0b2
Revert "Revert "added stackblitz to playground ( #2759 )" ( #2820 )" ( #2821 )
This reverts commit 87b4a4fac7
.
5 years ago
Karl Horky
911abf97ce
Improve grammar ( #2045 )
5 years ago
Myron Yeung
ba0818beab
Fix ref creation in CustomTextInput component ( #2072 )
Change React.createRef() to useRef(null)
5 years ago
Gisli Nielsen
63a06196ba
Changed what a component compiles to. ( #2075 )
5 years ago
Himanshu Pathak
c477cd79c8
animation plugin moved ( #2091 )
`react-addons-css-transition-group` moved to `react-transition-group`
5 years ago
Abel Regalado
be8775d4b9
[docs] Add missing events to docs/events page ( #2123 )
* [docs] Add missing evens to docs/events page
Added missing `onReset` event to Form Events –– (https://reactjs.org/docs/events.html#form-events )
Created Generic Events subsection, and added `onError` & `onLoad` events –– (https://reactjs.org/docs/events.html#generic-events )
Based on @sophiebits suggestion in following thread:
https://github.com/facebook/react/issues/1718#issuecomment-122622933
* [docs] Add event subsection to #supported-events
Added Generic Events subsection under Supported Events (https://reactjs.org/docs/events.html#supported-events )
5 years ago
tiffanymonroe
efeaea0606
added commas for clarification and grammar ( #2133 )
5 years ago
corinty
bc060f5edd
Moved a bracket in the setState function example ( #2164 )
5 years ago
Vincent
b4e7437ceb
Link to relevant forwardRef docs ( #2229 )
5 years ago
Rajinder Yadav
a35a95fb4b
Handling Multiple Inputs ( #2260 )
Text says to use "__name__" but code shows usage of "__type__".
5 years ago
Steve Dodier-Lazaro
2c8f5695ba
Add reference to persist to SyntheticEvent's API ( #2274 )
Since persist() is referred to in the doc as a method for disabling event pooling, that must mean it's part of the SyntheticEvent API.
I'm proposing to state it more explicitly so that there's no doubt for newcomers like me whether it is the SyntheticEvent or the actual JS event that has the method.
5 years ago
Arshita Kakkar
5fc494752c
Doc error ( #2301 )
Changed Line 94- You can't use Hooks *inside* of a class component, but you can definitely mix classes and function components with Hooks in a single tree.
to
"You can't use Hooks *inside* a class component, but you can definitely mix classes and function components with Hooks in a single tree. "
5 years ago
Arshita Kakkar
cc007751ca
Documentation correction ( #2304 )
* Documentation error
Line 290 - ". However, instead we recommend to split state into multiple state variables based on which values tend to change together."
Both 'however' and 'instead' are contrasting words and only one of them should be used.
Either "Instead we recommend to split state into multiple state variables based on which values tend to change together." OR "However, we recommend to split state into multiple state variables based on which values tend to change together."
Updated the sentence.
* Updated 'however' to 'instead'
Line 290 updated to -
Instead, **we recommend to split state into multiple state variables based on which values tend to change together.**
* Update hooks-faq.md
Co-authored-by: Sunil Pai <threepointone@fb.com>
5 years ago
Joe Del
1695e26dc8
fix broken link to babel repl on jsx-compiler page ( #2349 )
5 years ago
Conrad Beach
257a7dbca3
Fix Typo in Lifting State Up Docs ( #2395 )
There's a line in the document that says:
"When it previously rendered, the `Calculator` has specified that"
The sentence is using a present tense verb ("has"), but the statement is in the past tense.
I think "When it previously rendered, the `Calculator` had specified that" would be correct.
5 years ago
Jermaine de Bruyne
5435c31693
Update README.md (improve usability) ( #2398 )
* Update README.md (improve usability)
Clear up the ambiguous "Running locally" to the anchor link for better usability
* Update README.md
Co-authored-by: Sunil Pai <threepointone@oculus.com>
5 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
Bob Ziroll
5f594efaf8
Fix typo on React 16 Roadmap page ( #2433 )
I believe it was meant to be "news story", but I could be misunderstanding something in the context of the paragraph.
5 years ago
Christopher Wray
6603bdea3d
Updated sentence grammar. ( #2459 )
5 years ago
Juan M. Rinaudo
ec355d122f
add missing word ( #2479 )
Co-authored-by: Juan Manuel Rinaudo <juan.rinaudo@jemstep.com>
Co-authored-by: Sunil Pai <threepointone@fb.com>
5 years ago
Kevin Sullivan
705cacfa70
Update concurrent-mode-suspense.md ( #2495 )
According to [ProofreadNOW](https://www.proofreadnow.com/blog/bid/101485/If-I-Were-or-If-I-Was-Which-is-Correct ),
> Guideline: Use were (instead of was) in statements that are contrary to fact.
5 years ago
项鸿伟
7c28a3e88a
Update testing-recipes.md ( #2509 )
Missing code
5 years ago
David Cho-Lerat
81681dda2a
Fix small typo in concurrent-mode-adoption.md ( #2531 )
"You can use in new code" => "You can use them in new code"
5 years ago
Matt Wood
a1f0f84a1f
Update components docs for functional components ( #2547 )
* Update components docs for functional components
* Update components-and-props.md
Co-authored-by: Sunil Pai <threepointone@oculus.com>
5 years ago
David Cho-Lerat
778ddf16a2
Fix small typo in concurrent-mode-reference.md ( #2533 )
`MySlowList` "lag behind" => `MySlowList` "lags behind"
5 years ago
yosuheee
9ae0305c6b
Update testing-recipes.md ( #2573 )
- correcting assertion mistakes
5 years ago
amdwit
70826654df
Update components-and-props.md ( #2601 )
5 years ago
Sergei Cherniaev
922daf1add
typo fix, double spaces ( #2608 )
5 years ago
mknapper1
fe5ec2c55d
Fix typo in hooks-faq.md ( #2649 )
* Fix typo in hooks-faq.md
* Update hooks-faq.md
* Update hooks-faq.md
Co-authored-by: Sophie Alpert <git@sophiebits.com>
Co-authored-by: Sunil Pai <threepointone@oculus.com>
5 years ago
Aviv Hadar
602bfb5eda
Update hooks-reference.md ( #2691 )
Clarifying a useState sentence
5 years ago
Abdulaziz Sirojiddinov
902918e162
adding next section path ( #2741 )
adding the next section path at the end.
5 years ago
Abdulaziz Sirojiddinov
0c6d760ab5
adding next section url path ( #2742 )
adding next section URL path at the end in order to ease readers follow steps
5 years ago
38elements
b39931e98a
Fix og:image ( #2745 )
5 years ago
Sunil Pai
87b4a4fac7
Revert "added stackblitz to playground ( #2759 )" ( #2820 )
This reverts commit 869c740a88
.
5 years ago
Pato
869c740a88
added stackblitz to playground ( #2759 )
* added stackblitz to playground
* modified link of Stackblitz
I changed the link based on comment from @EricSimons
5 years ago
J Zhong
bbc6419a36
Add link to download node.js in Create React App ( #2787 )
5 years ago
Muhammad Arslan Sajid
69b15a2117
update hooks-faq.md ( #2806 )
1- Added getDerivedStateFromError lifecycle method to "Do Hooks cover all use cases for classes?"
2- Added getSnapshotBeforeUpdate lifecycle method to "How do lifecycle methods correspond to Hooks?"
5 years ago
Daniel Emod Kovacs
aa177081e0
fix: extract instantiation of Remarkable ( #2813 )
5 years ago
Balázs Orbán
78793ef90d
move Hungarian to in progress ( #2818 )
5 years ago
Vishal Jagtap
21d5ecef80
Added Pune (India) Meetup Communiy ( #2808 )
5 years ago
Ryan James
616807556f
s/'a myriad of'/'myriad' ( #2764 )
Think of "myriad" as a number. You wouldn't say "a nine of things", you would say "nine things".
5 years ago
Karl Horky
33f93b7b04
Move past conferences to bottom of page ( #2816 )
5 years ago