mattc41190
12bae06313
Minor grammar fix ( #2881 )
5 years ago
matlae-ugly
90316b6802
Link fix ( #2885 )
Update href on free course named Glitch: React Starter Kit
5 years ago
Dan Abramov
fa5e6e7a98
Remove misleading example in Forms ( #2875 )
* Remove misleading example in Forms
* Update forms.md
* Update forms.md
5 years ago
Gordey
7551fdf2df
Add ajax with hooks example ( #2803 )
* Add ajax with hooks example
* Add comment about empty deps in useEffect hook
* grammar
Co-authored-by: Alex Krolick <alexkrolick@users.noreply.github.com>
5 years ago
Charlie Stras
6ff9c4bd06
Fix incorrect highlighting in uncontrolled components example ( #2873 )
5 years ago
Dan Abramov
fae6d6b2eb
Oops
5 years ago
Sebastian Silbermann
9e5a358cb2
Explain how StrictMode affects function components and hooks ( #2515 )
* Update strict-mode.md
* Fix links
* docs: specify which kind of function component
* Update content/docs/strict-mode.md
* Update strict-mode.md
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
5 years ago
Nhan Doan
c2eb543b52
Update outdated URL in code-splitting.md ( #2870 )
* Update outdated URL
Next.js Dynamic Import.
* Update code-splitting.md
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
5 years ago
Vishal Jagtap
218790e623
- Updated the conference date of React Summit Amsterdam. ( #2860 )
- App.js Conf 2020 is cancelled due to the COVID-19
5 years ago
Ruphaa Ganesh
7e4f503d86
Remove comma from the portal snippet example ( #2852 )
5 years ago
Andrew Clark
e9cdc81ff3
Update for 16.13.1 ( #2845 )
5 years ago
Fran Zekan
84acbe1b8a
Fix node version in readme ( #2837 )
5 years ago
Esteban Luchsinger
2ef0ee1e4f
Reorganize information about the plugin ( #2835 )
Having the information that the plugin is already installed by default after the installation instructions is probably wasting a lot of people's time. Moving it up probably avoids multiple installs of the plugin.
5 years ago
Vishal Jagtap
0e7f73c170
ReactConf Japan 2020 is cancelled due to COVID-19 ( #2839 )
5 years ago
Justin E. Samuels
7fd94967ce
Updated dates for Render-Atlanta 2020 ( #2836 )
Date change for Render-Atlanta 2020 due to the Coronavirus pandemic.
5 years ago
Dan Abramov
b3c7540a10
Update building instructions
5 years ago
Fran Zekan
91ffdb0812
Upgrade to Node 12 LTS ( #2831 )
* Upgrade to node 12 LTS
* Run prettier
5 years ago
Vishal Jagtap
be17215d86
Updated React and React Native links ( #2824 )
* DOC: Updated the React Native Home URL
* Blog: Updated the React URL Link
* Relative link added
5 years ago
Jonathan Chhabra
617021f886
Make React.memo documentation more clear ( #2762 )
* Make React.memo documentation more clear
* Update reference-react.md
Co-authored-by: Sunil Pai <threepointone@fb.com>
5 years ago
David Beitey
d1c1c30ea0
Clarify preferred "props default to true" expr ( #495 )
* Clarify preferred "props default to true" expr
The current text is ambiguous without reading further into the paragraph -- until I re-read this text, I was trying to avoid both types of syntax because it seemed to imply that it wans't recommended (eg "props default to true" --> "we don't recommend using this").
* Update jsx-in-depth.md
Co-authored-by: Sunil Pai <threepointone@oculus.com>
5 years ago
JuanMa
56cea09a36
docs(render-props): examples improvement suggestion ( #987 )
5 years ago
Mendel Bakaleynik
98d8c10769
Minor grammar edit (syntactic -> syntactical). ( #1043 )
* Minor grammar edit (syntactic -> syntactical).
* Update handling-events.md
Co-authored-by: Sunil Pai <threepointone@oculus.com>
5 years ago
Andy
c44f4e577d
Use const for ref in functional component docs ( #1129 )
Co-authored-by: Sunil Pai <threepointone@fb.com>
5 years ago
Mo Ismat
420fc316c5
Update 2018-06-07-you-probably-dont-need-derived-state.md ( #1173 )
Grammar/typo
5 years ago
Paul Henschel
6f322a438a
Update conditional-rendering.md ( #1175 )
The ternary syntax using parenthesis was an unconventional prettier invention, going out of its way to format react ternaries differently from normal ternaries (if i remember correctly, because vim users had trouble re-formating without a mouse). If they made the right decision or not is one thing, but the additional noise could mislead beginners here, thinking they have to add more characters to make a simple 2-slot ternary, or that it is a "react thing".
5 years ago
Maddie Kreamer
970e90a4e6
apostrophe added to Facebooks to show possession ( #1297 )
5 years ago
Stephanie
7611c776fc
Remove event from arrow function example ( #1542 )
5 years ago
Ruslan Petrov
d58c947b1e
Update motivation-solution.js ( #1625 )
Removed unused props for clarity.
5 years ago
Ruslan Petrov
16647b39e6
Update reference-caveats-problem.js ( #1626 )
Added MyContext for clarity.
5 years ago
Michal Srb
59ff52aa82
Remove implicit boolean conversion from homepage example ( #1781 )
We shouldn't be encouraging this pattern which requires good understanding of JS quirks and can lead to bugs in other instances.
5 years ago
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