Paul O’Shannessy
bdca170d2a
Merge pull request #5693 from gaearon/elements-post
...
Added post about components, elements, and instances
2015-12-18 12:42:33 -08:00
Paul O’Shannessy
9a6c5deeb6
Merge pull request #5692 from zpao/small-style-fixups
...
A couple small style fixups that were missed in recent PRs
2015-12-18 12:23:54 -08:00
Dan Abramov
f56b28c07a
Added post about components, elements, and instances
2015-12-18 20:22:24 +00:00
Paul O’Shannessy
7a1d87bd33
A couple small style fixups that were missed in recent PRs
2015-12-18 11:27:49 -08:00
Paul O’Shannessy
83328d4923
Merge pull request #5683 from zpao/build-no-vendor
...
Don't build vendor files into build/modules
2015-12-16 18:57:14 -08:00
Paul O’Shannessy
b8315fdd59
Don't build vendor files into build/modules
2015-12-16 18:08:26 -08:00
Ben Alpert
963b3cacab
Merge pull request #5346 from prometheansacrifice/warn-immutable-props
...
Warns when mutated props are passed.
2015-12-16 16:09:33 -08:00
Jim
c9c3c339b7
Merge pull request #5216 from nLight/number-in-data-attrs-2329
...
Allow numbers after `data-` in custom attributes fixes #2329
2015-12-16 15:37:41 -08:00
Jim
ab37776cc2
Merge pull request #5599 from zramaekers/shallow-compare-docs
...
Add documentation for shallowCompare addon
2015-12-16 15:34:04 -08:00
Jim
0c15b01c38
Merge pull request #5602 from jimfb/error-boundaries
...
Error boundaries
2015-12-16 13:04:45 -08:00
Jim
3afced6a75
Error boundaries.
2015-12-16 12:15:26 -08:00
Paul O’Shannessy
a15293704a
Merge pull request #5673 from DJCordhose/reactelement-doc-fix
...
fixed docs on ReactElement that were out of sync with code
2015-12-16 11:50:36 -08:00
Jim
ccb97d8e59
Merge pull request #5587 from jimfb/ismounted-alternatives
...
Added post about upgrading your code to avoid isMounted()
2015-12-16 05:54:55 -08:00
Oliver Zeigermann
20e5a95fe3
fixed docs on ReactElement that were out of sync with code
2015-12-16 11:26:32 +01:00
Jim
bec238a7c9
Added post about upgrading your code to avoid isMounted()
2015-12-15 16:25:07 -08:00
Paul O’Shannessy
6c8cbcae8f
Merge pull request #5663 from jonathanp/fix-code-comment
...
Rephrase comment to better describe use of `warning()`
2015-12-15 14:32:40 -08:00
jpersson
13080f99ba
Rephrase comment to better describe use of warning()
2015-12-14 23:27:37 -05:00
Ben Alpert
33217f0fb9
Merge pull request #4888 from spicyj/ssr-no-queue
...
Don't build up mount-ready queue for server side rendering
2015-12-14 14:46:04 -08:00
Ben Alpert
3997164418
Merge pull request #5550 from spicyj/cc-speed
...
Make createClass 10-15% faster on complex specs
2015-12-14 14:45:44 -08:00
Paul O’Shannessy
eee5d466a6
Merge pull request #5623 from freddyrangel/autocorrect_autocapitalize
...
Autocorrect and autocapitalize should not be property
2015-12-14 14:11:15 -08:00
Paul O’Shannessy
b6a01d7733
Merge pull request #5658 from applegrain/clarify-dependency-installation
...
Clarify dependency installation
2015-12-14 11:20:54 -08:00
Lovisa Svallingson
2ff1b2e9e3
Clarify dependency installation
...
Split browserify and webpack to separate sections.
Remove `babelify` from the webpack section since it's only for browserify
2015-12-14 09:28:20 -07:00
Freddy Rangel
db37deb17c
Autocorrect and autocapitalize should not be property
...
Fixes facebook/react#5436
2015-12-13 23:37:29 -08:00
Jim
55bd203310
Merge pull request #5655 from adraeth/patch-1
...
Correct highlight in tutorial7.js snippet
2015-12-13 13:13:44 -08:00
Jim
83ee3c38a4
Merge pull request #5654 from jutaz/bugfix/typos
...
Bugfix - Typos
2015-12-13 10:43:50 -08:00
adraeth
682d61537d
Correct highlight in tutorial7.js snippet
2015-12-13 17:38:30 +01:00
Justas Brazauskas
0886273438
Fix few typos in React docs and comments
2015-12-13 16:39:07 +02:00
Jim
410cc30bf9
Merge pull request #5605 from thekevlau/patch-1
...
Adding class->className as a JSX gotcha
2015-12-11 12:13:48 -08:00
Kevin Lau
fcf74fe9da
Finalized wording
2015-12-11 12:05:05 -08:00
Jim
f282710072
Merge pull request #5644 from AndrewHenderson/patch-1
...
Helps avoid a common Issue when following tutorial
2015-12-11 10:56:01 -08:00
Andrew Henderson
ef32927eb5
Helps avoid a common Issue when following tutorial
...
https://github.com/reactjs/react-tutorial/issues/87
2015-12-10 22:44:36 -08:00
Jim
eeee272268
Merge pull request #5643 from koh-taka/patch-1
...
Fix wrong script name (showdown -> marked)
2015-12-10 18:27:17 -08:00
koh-taka
94325ea3ef
Fix wrong script name (showdown -> marked)
...
jp: チュートリアル内のshowdown を marked に修正
2015-12-11 11:23:56 +09:00
Jim
bb084eba24
Merge pull request #5609 from vitorbal/patch-1
...
Clarify usage of `.propTypes` when using functional components
2015-12-10 15:21:55 -08:00
Vitor Balocco
b1964ad8a7
Clarify usage of .propTypes and .defaultProps when using stateless functional components
...
I've seen some people unaware about the fact that you can still specify `.propTypes` and `.defaultProps` when you are defining a functional component by setting them as properties of the function.
I thought clarifying this in the docs could help!
2015-12-10 23:21:59 +01:00
Ben Alpert
4f7a2766e4
Merge pull request #5640 from spicyj/no-typechecks
...
Remove @typechecks
2015-12-10 11:30:40 -08:00
Ben Alpert
46f5251c66
Remove @typechecks
...
These don't really do anything.
```
codemod.py -d src --extensions js -m '\s* \* @typechecks.*?\n' '\n'
```
with "yes to all".
2015-12-10 11:26:45 -08:00
Jim
be964561ed
Merge pull request #5610 from yangshun/change-devtools-message
...
Change devtools install message on file: URLs
2015-12-10 08:55:57 -08:00
Tay Yang Shun
3deca65a89
Change devtools install message on file: URLs
2015-12-11 00:48:53 +08:00
Kevin Lau
0130a04f05
added nuance about identifiers used in custom elements
2015-12-09 00:33:25 -08:00
Ben Alpert
c65ff201fc
Merge pull request #5614 from mark-rushakoff/avoid-negative-lookahead
...
Avoid negative lookahead in regular expression
2015-12-06 20:27:03 -08:00
Mark Rushakoff
86b44349de
Avoid negative lookahead in regular expression
...
I'm trying to use React with otto
(https://github.com/robertkrimen/otto ), which is implemented in Go and
does not support lookaheads or backreferences in regular expressions.
(Unfortunately that *does* mean that otto isn't fully compatible with
the ECMA5 spec; but since this is the only lookahead I am aware of in
the React codebase, this change makes React once again compatible with
otto, and any other JS implementation that may not be fully compliant on
regular expressions).
As far as I can tell, the previous code replaced a sequence of slash
characters with one more slash than before. The new code avoids the
negative lookahead by matching any sequence of slash characters and then
using the special `$&` placeholder to replace the matched sequence with
the original sequence, plus one more slash.
2015-12-06 13:46:16 -08:00
Jim
178fe648de
Merge pull request #5611 from dittos/irc-remove-2ndarg
...
Clean up caller sites of instantiateReactComponent
2015-12-06 05:01:15 -08:00
Taeho Kim
14725ba768
Clean up caller sites of instantiateReactComponent
...
The 2nd argument was removed since #4139 .
2015-12-06 17:31:30 +09:00
Kevin Lau
1d3ff2a159
Adding class->className as a JSX gotcha
...
It's mentioned as a note in "JSX in Depth" however I think for clarity and ease of look-up, it would be a good idea to also include it in the JSX Gotchas list?
2015-12-04 16:51:38 -08:00
Paul O’Shannessy
856eb72b4f
Merge pull request #5593 from zwhitchcox/patch-3
...
Remove dead code
2015-12-04 15:57:27 -08:00
zwhitchcox
b15c80696c
Remove dead code
...
This isn't used anywhere in React
2015-12-04 18:28:37 -05:00
Paul O’Shannessy
3faf9569d4
[blog] Diversity Scholarship 2016
2015-12-04 14:51:12 -08:00
Paul O’Shannessy
67663ba2c9
Merge pull request #5603 from henryw4k/patch-3
...
chore(ReactComponentWithPureRenderMixin.js): made "Mixin" lowercase
2015-12-04 13:08:58 -08:00
Paul O’Shannessy
4f9d8c31b8
Merge pull request #5600 from zwhitchcox/patch-4
...
Change release to multi task
2015-12-04 13:08:08 -08:00