Juyeong Byeon
9ed29b0df6
fix: "…" spread syntax is not an "operator" but document saying that is an "operator" so it can make developers confused ( #4209 )
3 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
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
Gisli Nielsen
63a06196ba
Changed what a component compiles to. ( #2075 )
5 years ago
Ben Fletcher
de497e2503
Clarify effect of ‘only’ language ( #2264 )
Clarify that ‘only’ does not preclude `<Content />` from rendering.
5 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
Brian Vaughn
ef380d772c
babel-repl:// protocol changed to babel://
7 years ago
Brian Vaughn
32a66d7b83
Migrated remaining Babel REPL links
7 years ago
Brian Han
39ef13f48d
edit for grammar
7 years ago
Brian Han
8ccb0c4265
Rewrite spread attrs section based on feedback
7 years ago
James Clements
f81cf014f5
change wording to reflect array
7 years ago
James Clements
5f2cadf865
any elements
7 years ago
James Clements
558ae3176a
adds returning multiple elements example to jsx-in-depth guide
7 years ago
Brian Han
4c5f48c9e5
fix: re-add spread attrs docs and update example
7 years ago
Brian Han
02686259b5
docs/update-jsx-in-depth/spread-attrs
re-add Transferring with ... in JSX docs previously published with React v15-ish
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
chocolateboy
edf4b2231f
[Docs] Fix confusing description for the <script>...</script> usage ( #9502 )
* Fix confusing description for the <script>...</script> usage
* Update jsx-in-depth.md
* Update reference-react-dom-server.md
* Update reference-react-dom.md
* Update reference-react.md
8 years ago
David Hu
9c56ac1bed
Add more details in jsx-in-depth.md ( #9006 )
* jsx-in-depth.md add ternary statement for javascript expressions section
* jsx-in-depth.md add explanation to get falsey values for props
* update jsx-in-depth.md
* ensure links work locally, remove section about falsey prop values
* Fix links
8 years ago
Jayen Ashar
fb56ffde54
Update jsx-in-depth.md ( #9178 )
* Update jsx-in-depth.md
Line 9 isn't changed
* Move selection down
* Fix
8 years ago
Fraser Haer
c1b5045e32
Unique headings for linking purposes ( #9259 )
Previously two headings were 'Javascript Expressions' - now 'Javascript
Expressions as Props' and 'Javascript Expressions as Children'
8 years ago
Vladimir Kovpak
61877c13e0
Added undefined example ( #8899 )
Into section `Booleans, Null, and Undefined Are Ignored` I've added example with undefined.
8 years ago
Dmitry Zhuravlev-Nevsky
2911b89396
Swap components ( #8735 )
It's better to delare component before using.
8 years ago
comerc
e875fa0967
Fix casing typo in jsx-in-depth.md ( #8542 )
8 years ago
Kevin Lacker
d068700a40
Docs: add a bunch of redirects ( #8137 )
* add a bunch of redirects
* add more redirects
8 years ago
Dan Abramov
16d8bd1ff6
Add more highlighting to docs ( #8076 )
* Tweak JSX in Depth
* Add highlighting to Refs and the DOM
* More tweaks
8 years ago
Oskari Mantere
97a1b89a94
Replace vars with let and const ( #8051 )
8 years ago
Nathan Hardy
4c72dce721
Fix erroneous '}' in JSX examples ( #8043 )
8 years ago
Dan Abramov
842d44dfa5
Fix redirects
8 years ago
Kevin Lacker
aa9544bfac
New Documentation
8 years ago