Commit Graph
3891 Commits
Author SHA1 Message Date
Ben Alpert 098f316aff It\ns -> Its 2015-03-11 15:28:24 -07:00
Paul O’Shannessy adf4aee1b4 [docs] it's --> its 2015-03-11 15:25:57 -07:00
Jim 3d8b47bbcc Merge pull request #3356 from cpojer/findDOMNode
foo.getDOMNode => React.findDOMNode(foo)
2015-03-11 08:47:56 -07:00
Jim 5afa657d77 Merge pull request #3370 from varunrau/master
Fixed shallowEqual for arguments that are not objects
2015-03-11 08:34:49 -07:00
Varun Rau 6cd004f20a Fixed shallowEqual implementation to handle the case when inputs are not objects.
If either argument is not an object and unequal, then shallowEqual should return false.
If only one argument is an object, then shallowEqual should return false.

Fixes #3369
2015-03-10 18:03:51 -07:00
cpojer 413e96d0cd Add some important getDOMNode tests back. 2015-03-10 17:27:19 -07:00
cpojer ae7da3aadd foo.getDOMNode => React.findDOMNode(foo) 2015-03-10 17:17:21 -07:00
Jim 91b45641b8 Merge pull request #3317 from ianobermiller/fix-shallow-equal
shallowEqual: bail if either argument is falsey
2015-03-10 15:45:03 -07:00
Ben Alpert 53f92bf858 Fix comma splice and line length 2015-03-10 15:36:27 -07:00
Jim 645a6caaf5 Merge pull request #3323 from jonhester/ie8-compat-mode
warn if IE8 is in compatibility mode
2015-03-10 15:35:09 -07:00
Ben Alpert 462e8f1be8 Merge pull request #3327 from Simek/initialize-variables-fix
initialize dev variables in dev mode only in shouldUpdateReactComponent.js
2015-03-10 15:33:29 -07:00
Ben Alpert cff3f35bf7 Merge pull request #3321 from Smert/master
Bringing the code to one style.
2015-03-10 15:32:43 -07:00
Ben Alpert 4d9561d938 Merge pull request #3310 from darcyadams/console-exists-before-warn
Check that console exists before warning
2015-03-10 15:32:32 -07:00
Ben Alpert b95fe57743 Merge pull request #3253 from jsfb/fix-comment-to-reflect-class-type-usage
Fix comment to reflect the new (non-deprecated) way of accessing a class type.
2015-03-10 15:31:50 -07:00
Ben Alpert e8af59cf82 Merge pull request #3246 from spicyj/onclick
Revert "Revert #1536"
2015-03-10 15:31:38 -07:00
Ben Alpert 68ca057bc3 Merge pull request #3230 from nmn/master
Add numeric CSS property - stroke width
2015-03-10 15:31:30 -07:00
Ben Anderson 75a8bc96b1 Warn when rendering directly into document.body
This is in response to #3207 to address concerns regarding third-party
scripts and browser plugins potentially altering DOM nodes within
document.body, causing problems with reconciliation.

Closes #3211.
2015-03-10 15:31:02 -07:00
Ben Alpert f77de57e41 Merge pull request #2946 from benmoss/nested-render-warning
Add displayName to nested render warnings [#1726]
2015-03-10 15:24:59 -07:00
Ben Alpert 4feed4fcc5 Merge pull request #2868 from chicoxyzzy/dev_and_prod_environments_consistancy
make dev and production environment consistent
2015-03-10 15:24:33 -07:00
Ben Alpert 9cb25b3ddb Merge pull request #2266 from syranide/voidelem
ReactDOMComponent should not accept children for void elements
2015-03-10 15:24:00 -07:00
Paul O’Shannessy 715aadd1c7 v0.13 starter kit 2015-03-10 15:08:26 -07:00
Paul O’Shannessy e313616be7 Bump version so we can get back to work 2015-03-10 15:06:35 -07:00
Paul O’Shannessy e17b6c0514 Bump version in readme 2015-03-10 15:05:43 -07:00
Ben Alpert df18770a0c with the exception for -> with the exception of 2015-03-10 14:44:44 -07:00
Ben Alpert ab7084f71d Merge pull request #3366 from sebmarkbage/docs2
ES6 Class Docs
2015-03-10 14:44:23 -07:00
Sebastian Markbage efebdb2925 ES6 Class Docs
Some minor burried docs.
2015-03-10 14:41:42 -07:00
Ben Alpert 085bf8635c Add deprecation note to blog post and changelog 2015-03-10 14:22:03 -07:00
Paul O’Shannessy 5f791be022 [docs] Update acknowledgements
Missed updating this in #3283 before merging.
2015-03-10 13:57:44 -07:00
Paul O’Shannessy 139012cd6a Merge pull request #3283 from zpao/0.13-authors
Update AUTHORS for 0.13
2015-03-10 13:56:52 -07:00
Paul O’Shannessy a95d6ff0df Update AUTHORS for 0.13 2015-03-10 13:55:55 -07:00
Paul O’Shannessy 5e79bd5c4f Changelog for 0.13 2015-03-10 13:47:15 -07:00
Paul O’Shannessy deeb55b6e7 Merge pull request #3363 from zpao/0.13-docs-cloneelement
[docs] React.cloneElement
2015-03-10 13:46:12 -07:00
Paul O’Shannessy a5bdc92990 A couple small changes to the changelog for 0.13 2015-03-10 13:43:15 -07:00
Jim 565e2ecbac Merge pull request #3364 from jsfb/refs-docs
Added docs about the ref-as-callback.
2015-03-10 13:02:18 -07:00
Jim f3811e68fa Added docs about the ref-as-callback. 2015-03-10 13:01:07 -07:00
Ben Alpert 4fb9644823 0.13 blog post 2015-03-10 12:57:50 -07:00
Paul O’Shannessy 62d5d646db Merge pull request #3362 from jsfb/docs-for-setstate
Added docs about the first-parameter-is-function version of setState.
2015-03-10 12:29:25 -07:00
Paul O’Shannessy 969d92a411 Merge pull request #3354 from zpao/0.13-examples
Update the examples for 0.13
2015-03-10 11:57:35 -07:00
Paul O’Shannessy ce66a796ee Update the examples for 0.13
The only substantial difference here is that I made the harmony example use ES6
classes. The server rendering example was pretty wacky and hard to run but
I did confirm that it works.
2015-03-10 11:56:25 -07:00
Jim 7569e810e7 Added docs about the first-parameter-is-function version of setState. 2015-03-10 11:47:00 -07:00
Paul O’Shannessy 45cc5006d7 [docs] React.cloneElement 2015-03-10 11:19:11 -07:00
Paul O’Shannessy ee019d6cc5 Merge pull request #3360 from zpao/0.13-docs-api-deprecations
Add deprecation note for deprecated component APIs
2015-03-10 11:07:47 -07:00
Paul O’Shannessy b4962eff43 Merge pull request #3361 from zpao/deprecate-replaceprops
Deprecate replaceProps
2015-03-10 11:07:34 -07:00
Paul O’Shannessy 9d58e9a27b Deprecate replaceProps
This isn't supported on plain JS classes anyway, so this is just adding
a warning in DEV before the code throws.
2015-03-10 10:44:47 -07:00
Paul O’Shannessy b038943653 Add deprecation note for deprecated component APIs 2015-03-10 10:44:24 -07:00
Ben Alpert 79a34e80b1 Merge pull request #3358 from coliff/patch-1
Update relevant URLS to HTTPS
2015-03-10 10:03:59 -07:00
Paul O’Shannessy f41904cf99 Merge pull request #2963 from graue/document-shallow-testing
Add documentation for shallow testing
2015-03-10 09:39:47 -07:00
Ben Alpert ca08f7546e Merge pull request #3353 from spicyj/frag
Add docs for createFragment
2015-03-10 09:17:51 -07:00
Ben Alpert b7732ba7c0 Add docs for createFragment 2015-03-10 09:17:34 -07:00
Christian dbba47d5d2 Update relevant URLS to HTTPS
Update relevant URLS to HTTPS
2015-03-10 18:11:29 +09:00