Clement Hoang
938f8534f1
Add new fragment guide
7 years ago
Clement Hoang
a39cb5fe78
Add big redirect away from create-fragment page
7 years ago
Brian Vaughn
157501a48c
Split last sentence into its own paragraph
7 years ago
Brian Vaughn
97d4949954
Wordsmithing
7 years ago
Brian Vaughn
e28248ec89
Wordsmithing
7 years ago
MICHAEL JACKSON
d5477adf95
Fix some links
7 years ago
MICHAEL JACKSON
af78367ec3
Add "Caveats" section
7 years ago
MICHAEL JACKSON
4d285a70a7
Add doc about Render Props
7 years ago
Dan Abramov
07839cb6c4
Document suppressHydrationWarning ( #369 )
* Document suppressHydrationWarning
* Add it to the reference
7 years ago
Dan Abramov
f58c9a514e
Move the style note to be more prominent ( #370 )
* Move the style note to be more prominent
* Fix the link
* Simplify example
7 years ago
Alex
c1952f5a22
add missing /
7 years ago
Liam O'Boyle
ec4dc73b8f
Note that polyfills are required for some supported browsers too.
The "Browser Support" section of react-dom indicates that IE9 and above
is supported, but fails to note that the support does require additional
polyfills in some cases. A link is added to the javascript environment
docs which already explains the polyfills required (Map, Set and rAF).
7 years ago
Dan Abramov
5efca01e9e
Mention virtualization in "Optimizing Performance" ( #357 )
* Mention virtualization in "Optimizing Performance"
* nits
* Oops
7 years ago
Yash Joshi
13ec56b1cc
Documented the difference between props and State
7 years ago
Dan Abramov
23e8b9f577
Update "optimizing performance" instructions for React 16 ( #356 )
7 years ago
ksenna
12d5edafc0
Update docs referencing referencing /src files ( #291 )
* Remove text referencing /src files
* Add link to stack reconciler on 15-stable branch
7 years ago
Alex
03c6ed8747
add link to styling faq
7 years ago
Alex
bd422de439
make css-in-js language more neutral
CSS-in-JS is not endorsed but it's also not discouraged; trying to find middle ground.
7 years ago
Alex
501293a425
Update explanation of CSS-in-JS
A post-merge comment for the original PR for this section mentioned that not all libs actually extract static stylesheets (and docs shouldn't explain implementation details of 3rd party libs unnecessarily, as a rule)
7 years ago
Alex
d739beef67
treat className+*.css as default styling approach
7 years ago
Alex
bc3cae5e83
add link to classname docs
7 years ago
Yash Joshi
149c49542f
Removed Line breaks
7 years ago
Yash Joshi
7416caf9af
Updated-2
7 years ago
Alex Krolick
fc00989cfc
add note about best practices for style attribute
7 years ago
Yash Joshi
eaa73084a7
Updated
Removed the import statement, expanded the previous commit
7 years ago
Yash Joshi
027ec4b2ed
Updated FAQ
Added a note that CSS-in-JS is not mandatory adn How to import css files.
7 years ago
Yash Joshi
a084d924fa
Added FAQ for Synching State and props
7 years ago
Matthew Holman
4adc854d6d
Added link explaining danger of using index as key
7 years ago
Dan Abramov
12e32e50ac
Add pragmatic advice on file structure ( #338 )
* Add pragmatic advice on file structure
* Update faq-structure.md
7 years ago
Brian Vaughn
b33a587ec5
Tweak wording
7 years ago
Leonid Khachaturov
77aab0bb80
Add section on Kotlin ( #327 )
7 years ago
Steven Syrek
e38ba413ec
Fix typo ( #326 )
7 years ago
Dan Abramov
60f56bf5b9
Mention `yarn test-prod` in contributing guide
7 years ago
Hozefa
71a45da3c3
for inline styles add example for units on values
7 years ago
Brian Vaughn
81b3049532
Small wording tweaks
7 years ago
Alex Reardon
d4630485a0
Moving to new raf-schd cancel syntax. Cleaning up language
7 years ago
Rob Dodson
e11e19e7fe
Add mention of custom-elements-es5-adapter
Including the es5 adapter fixes the issue of transpiled custom elements not working in browsers like Chrome and Safari.
7 years ago
Vishal Raj
4d1342506d
doc: added documentation for input type=file
7 years ago
Kyle Roach
2439b55bf6
Copy changes
7 years ago
Dan Abramov
7d8abd8f13
Fix a code mistake
7 years ago
Raincal
7a069c4848
Update lifting-state-up.md ( #319 )
7 years ago
Kyle Roach
e993dc5a3a
docs(static type checking): Improved TypeScript docs
7 years ago
Mike Wilcox
654c6b7df9
Update componentDidMount link ( #316 )
Currently when clicking this link, it tries to open link as `https://reactjs.org/https://reactjs.org/docs/react-component.html#mounting ` and just spins.
7 years ago
Alex Reardon
1bef49c72f
Adding information about requestAnimationFrame to rate limiting section. Closes #312
7 years ago
Dan Abramov
d73bb5d287
Minor tweaks
7 years ago
Dan Abramov
c3b103dcb6
Minor fix
7 years ago
Dan Abramov
986d97788c
Minor FAQ updates ( #308 )
* Don't use experimental syntax unless necessary
* Edit another page
* Update another page
* Unrelated bikeshed on virtual DOM
* Please, no *.jsx, we don't recommend it
* Update faq-structure.md
* Minor updates
* Update faq-ajax.md
* Update faq-functions.md
* Add binding explanation
7 years ago
Brian Vaughn
0ba8920310
Added some additional wording
7 years ago
Alex
78c285f86b
Inline event.persist explanation
7 years ago
Alex
95c03c0fc8
Add links to event pooling docs
7 years ago