Paul O’Shannessy
daeb20895d
Merge pull request #5697 from kolodny/stricter-update-tests
...
improved react-addons-update tests
2015-12-20 21:11:29 -08:00
Paul O’Shannessy
1a43a29afa
Merge pull request #5698 from facebook/Daniel15-patch-1
...
Remove smart quotes from code snippet in blog post
2015-12-20 21:09:00 -08:00
Daniel Lo Nigro
0f629727e6
Remove smart quotes from code snippet
...
"Smart" quotes aren't actually very smart.
2015-12-21 15:53:30 +11:00
Moshe Kolodny
2dc12dec29
improved react-addons-update tests
2015-12-20 22:01:54 -05:00
Ben Alpert
23b3bfb863
Merge pull request #5694 from spicyj/div-html-nesting
...
Make sure div > html nesting is considered invalid
2015-12-18 12:53:27 -08:00
Ben Alpert
156116c5c2
Make sure div > html nesting is considered invalid
...
See #5128 .
2015-12-18 12:49:54 -08:00
Paul O’Shannessy
af807a926c
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
ff140bab63
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
dfed600f7b
Added post about components, elements, and instances
2015-12-18 20:22:24 +00:00
Paul O’Shannessy
037e4475c8
A couple small style fixups that were missed in recent PRs
2015-12-18 11:27:49 -08:00
Paul O’Shannessy
599cc169ab
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
6c6bbde146
Don't build vendor files into build/modules
2015-12-16 18:08:26 -08:00
Ben Alpert
1aaf427ea6
Merge pull request #5346 from prometheansacrifice/warn-immutable-props
...
Warns when mutated props are passed.
2015-12-16 16:09:33 -08:00
Jim
9f34ae22d2
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
f36f8c0fc1
Merge pull request #5599 from zramaekers/shallow-compare-docs
...
Add documentation for shallowCompare addon
2015-12-16 15:34:04 -08:00
Jim
b1e68d1161
Merge pull request #5602 from jimfb/error-boundaries
...
Error boundaries
2015-12-16 13:04:45 -08:00
Jim
2913e35fa1
Error boundaries.
2015-12-16 12:15:26 -08:00
Paul O’Shannessy
c0a6579b8d
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
0cd785fc48
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
52162f07e3
fixed docs on ReactElement that were out of sync with code
2015-12-16 11:26:32 +01:00
Jim
2d0f0678ce
Added post about upgrading your code to avoid isMounted()
2015-12-15 16:25:07 -08:00
Paul O’Shannessy
07f1d0d7a7
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
32c4914698
Rephrase comment to better describe use of warning()
2015-12-14 23:27:37 -05:00
Ben Alpert
6a96c529a9
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
1382fcf95b
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
5c25d57729
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
e60b015c24
Merge pull request #5658 from applegrain/clarify-dependency-installation
...
Clarify dependency installation
2015-12-14 11:20:54 -08:00
Lovisa Svallingson
b368f2f949
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
8a343f97ae
Autocorrect and autocapitalize should not be property
...
Fixes facebook/react#5436
2015-12-13 23:37:29 -08:00
Jim
1a1b2f5fd1
Merge pull request #5655 from adraeth/patch-1
...
Correct highlight in tutorial7.js snippet
2015-12-13 13:13:44 -08:00
Jim
a784a4447c
Merge pull request #5654 from jutaz/bugfix/typos
...
Bugfix - Typos
2015-12-13 10:43:50 -08:00
adraeth
39c46e172e
Correct highlight in tutorial7.js snippet
2015-12-13 17:38:30 +01:00
Justas Brazauskas
0c5ee5937c
Fix few typos in React docs and comments
2015-12-13 16:39:07 +02:00
Jim
6412625865
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
158b0d47d6
Finalized wording
2015-12-11 12:05:05 -08:00
Jim
3cd98ba5c2
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
ab75fcbcb2
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
2fdb30ef68
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
832e3ad39a
Fix wrong script name (showdown -> marked)
...
jp: チュートリアル内のshowdown を marked に修正
2015-12-11 11:23:56 +09:00
Jim
a42ec35ef7
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
54580fb446
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
f0361a2057
Merge pull request #5640 from spicyj/no-typechecks
...
Remove @typechecks
2015-12-10 11:30:40 -08:00
Ben Alpert
cf836c6cd0
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
3abfda9dba
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
cdfd4070a3
Change devtools install message on file: URLs
2015-12-11 00:48:53 +08:00
Kevin Lau
2c62c878c6
added nuance about identifiers used in custom elements
2015-12-09 00:33:25 -08:00
Ben Alpert
f0ba0fc786
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
2f9b149a84
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
db0a642b06
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
0bc0093f6d
Clean up caller sites of instantiateReactComponent
...
The 2nd argument was removed since #4139 .
2015-12-06 17:31:30 +09:00