Julen Ruiz Aizpuru
3ebec4b55b
Docs: do not render components to `document.body`
Rendering to `document.body` in the examples is conveniently short, but it can
be misleading at the same time, especially for newcomers.
While it's possible to render React components to `document.body`, any 3rd
party scripts can also mess up with it, and it can have unintended consequences
and be source of difficult-to-trace bugs.
10 years ago
Rick Beerendonk
60d197eca3
Add documentation about JSX and displayName.
The section that described how JSX transform handles displayName was lost in commit 9b1ee4de4636fcc9af1cf93099e062a3f6eb96f5
Fixes #3338
10 years ago
Aria Buckles
fa83c48c73
[Docs] Add 'ing' to make "opening" and "closing" line up
Test Plan:
None
10 years ago
Brian Kung
4b16e13212
[Docs] Clarify section on namespaced components
While going through the docs, I wasn't sure if the first example was
something I should do or not. This makes the wording a bit more clear.
10 years ago
Preston Parry
1b0f933aba
Update 02.1-jsx-in-depth.md
10 years ago
Preston Parry
5187f9c650
Rewording for clarity
10 years ago
amykyta
20d2dfec1d
Update 02.1-jsx-in-depth.md
10 years ago
Tim Schaub
0625baaf00
Add missing verb
This adds a missing verb in JSX-in-depth doc.
10 years ago
Pedro Nauck
eedb2ffe04
bugfix: remove conflict comment
10 years ago
Pedro Nauck
f876868e9e
update namespaced component to adapt with the v0.12
10 years ago
Sebastian Markbage
836909901e
Updated Docs for new JSX Changes
Moved non-JSX explanation to Displaying Data.
Overhauled JSX in Depth.
Added JSX Spread Section.
10 years ago
Paul O’Shannessy
febd05b900
Update React.DOM -> React.createElement through docs
10 years ago
Cheng Lou
33c7ee6112
[Docs] Remove most of @jsx
I kept some places intact (search for @jsx ) because they require other bigger changes:
- ref-01-top-level-api.md
- grunt/tasks/npm.js
- old blog posts (don't change those)
- examples/ folder, as they have their own package.json that rely on old dependencies (node-jsx, reactify) that haven't upgraded to 0.12
10 years ago
Pedro Nauck
d1b82bbdb4
change note comment about namespaced components
10 years ago
Pedro Nauck
1b201c33ab
change the global variable to a new sample component
10 years ago
Pedro Nauck
02f424158f
add a section at 'jsx-in-depth' talking about namespaced components
10 years ago
Paul O’Shannessy
2865e4a1c8
Set default layout for docs
11 years ago
Christopher Chedeau
4ed066b0ce
Document multiple ways to insert comments in JSX
11 years ago
Daniel Lo Nigro
561bc9a26a
Change “not allowed” back to “discouraged” since you technically *can* use props called `class` or `for`…
11 years ago
Daniel Lo Nigro
6edc47aeae
Add link to HTML to JSX converter to “JSX In Depth” page
11 years ago
xixixao
4c7abcd424
Document displayName
11 years ago
Cheng Lou
9208a5153e
docs add warning to add jsx pragma
11 years ago
Cheng Lou
0767e7b9dd
docs make all link start with /react/docs
11 years ago
Cheng Lou
4217596377
move docs tooling from JSX in Depth
Also removes the code wrap around the syntax highlighting link.
11 years ago
yungsters
bd64af42b5
Add link to third-party `JavaScript (JSX).tmLanguage` in docs.
11 years ago
Paul O’Shannessy
d3cb08a141
Docs: fix header
12 years ago
Paul O’Shannessy
742dc5d0b0
Use script to find remaining 404s. Fix them.
12 years ago
Paul O’Shannessy
9e96cc247a
[docs] Make sure JSX comments code is in block
12 years ago
Paul O’Shannessy
225abe1ec8
Standardized Markdown lists
12 years ago
Paul O’Shannessy
45fe80393c
Cleanup "JSX in Depth"
12 years ago
Paul O’Shannessy
f2345ba2e2
Remove numbers from URLs.
This will let us keep docs in order on the filesystem but have
reasonable permalinks. If we add something at 02- it doesn't result in
lots of broken links.
12 years ago
Paul O’Shannessy
17ea30c8c5
Fix title casing and heading levels
12 years ago
petehunt
1263fde643
move docs around, add likebutton
12 years ago
petehunt
53d8a64442
fix some links
12 years ago
Pete Hunt
c0b4dc4c89
Update 02.1-jsx-in-depth.md
12 years ago
petehunt
e917e9fa3a
jsx gotchas, reference
12 years ago
petehunt
c3f99be8fe
add seconds 02.1 and 03
12 years ago
Pete Hunt
dc25c4d32b
Update syntax.md
Some inconsistencies pointed out in FB comments
12 years ago
Greg Roodt
8d05bef2b8
Minor typo.
12 years ago
yungsters
c63eddc525
Add a JSX Compiler tool.
12 years ago
yungsters
6981a7e754
[docs] Revise marketing copy around JSX.
12 years ago
petehunt
3c32fd5297
make it a little less cynical
12 years ago
petehunt
f0805bee14
Docs updates per community response
12 years ago
Paul Shen
d12a80fb6e
[docs] Fix couple minor typos/spelling
12 years ago
Paul O’Shannessy
eb278167cd
Initial public release
12 years ago