Commit Graph
19463 Commits
Author SHA1 Message Date
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
Paul O’Shannessy dd6b8ab8b9 Merge pull request #3347 from koba04/fix-perf-displayname
Fix addons.Perf displayName with ES6 classes
2015-03-09 21:32:24 -07:00
cpojer a1631bea71 Add shallowCompare module and use it in PureRenderMixin + tests 2015-03-09 18:49:37 -07:00
Toru Kobayashi 29506cec54 Fix Perf displayName with ES6 classes 2015-03-10 09:45:40 +09:00
Paul O’Shannessy 62ee384d7b Merge pull request #3330 from spicyj/no-render
Add warning when using non-component element types
2015-03-09 13:47:39 -07:00
Paul O’Shannessy eaed4d7804 Merge pull request #3345 from zertosh/update-derequire
Update derequire (and greatly improve build speed)
2015-03-09 13:46:49 -07:00
Paul O’Shannessy 769e1cea03 Merge pull request #3337 from facebook/cpojer-patch-2
"Better" duck typing in reactComponentExpect
2015-03-09 13:45:50 -07:00
Paul O’Shannessy 8a3dd040a0 Merge pull request #3331 from zpao/null-frag-proptypes
Allow null and undefined values in non-frag object passed to PropTypes.node
2015-03-09 13:43:26 -07:00
Paul O’Shannessy 57bed796ef Merge pull request #3339 from gabelevi/patch-1
Update jstransform and esprima-fb dependencies
2015-03-09 13:19:41 -07:00
Jim ccb5ccd5a0 Merge pull request #3341 from rickbeerendonk/3338-documentation-issue
Add documentation about JSX and displayName.
2015-03-09 10:35:28 -07:00
Andres Suarez 9941095dc3 Update to derequire@^2.0.0 2015-03-08 23:43:47 -04:00
Ben Alpert 208b258519 Merge pull request #3343 from BinaryMuse/docs/bkt-add-contextmenu-event
Add onContextMenu to events doc
2015-03-07 20:27:57 -08:00
BinaryMuse 1aa9580484 Add onContextMenu to events doc 2015-03-07 20:22:10 -08:00
Rick Beerendonk 2184162e38 Add documentation about JSX and displayName.
The section that described how JSX transform handles displayName was lost in commit 9b1ee4de46

Fixes #3338
2015-03-07 19:01:58 +01:00
Gabe Levi ac5af1ec45 Update jstransform and esprima-fb dependencies 2015-03-06 18:31:29 -05:00
Ben Alpert b95ad296da Merge pull request #3336 from facebook/cpojer-patch-1
Fix documentation typo in ReactComponent
2015-03-06 10:07:45 -08:00
Christoph Pojer 8ce9e2b194 Update reactComponentExpect.js 2015-03-06 02:46:33 -08:00
Christoph Pojer 419038f846 Fix documentation typo in ReactComponent 2015-03-06 01:33:56 -08:00
Paul O’Shannessy 0e797dffe4 Allow null and undefined values in non-frag object passed to PropTypes.node 2015-03-05 17:56:50 -08:00
Jim c7c2e05c33 Merge pull request #2802 from jsfb/findDOMNode-in-docs
Updated docs examples/recommendations to use findDOMNode instead of getDOMNode
2015-03-05 16:51:13 -08:00
Jim 030fc752ba Updated docs examples/recommendations to use findDOMNode instead of getDOMNode 2015-03-05 16:42:43 -08:00
Ben Alpert 6dbef56da3 Merge pull request #3333 from ariabuckles/docs
[Docs] Add 'ing' to make "opening" and "closing" line up
2015-03-05 16:28:04 -08:00
Aria Buckles 7eb6f68e7c [Docs] Add 'ing' to make "opening" and "closing" line up
Test Plan:
None
2015-03-05 16:25:41 -08:00
Ben Alpert 6b7e4dc8e8 Add warning when using non-component element types
This should make debugging easier for people who missed callsites when fixing up their JSX/non-JSX usage.
2015-03-05 15:24:31 -08:00
Bartosz Kaszubowski a42dcf4f7b initialize dev variables in dev mode only 2015-03-05 21:20:48 +01:00
Jon Hester 65c4aeaa3a use warning module instead of console.debug 2015-03-05 18:53:12 +00:00
Darcy 6b593083ed check that console exists before warning
Console is undefined in earlier versions of IE when it is not open. This causes an uncaught exception, and breaks applications in these versions of IE when attempting to warn when the  console is closed.
Admittedly, console will usually be open when testing in development, but still React should not break the application when it is not.
2015-03-05 09:20:16 -05:00
Jon Hester a999ac1ac3 warn if IE8 is in compatibility mode 2015-03-05 13:48:28 +00:00
dmitry adb9b20f6d Bringing the code to one style. 2015-03-05 14:04:47 +02:00
Ian Obermiller 34f4a0e42d shallowEqual: bail if either argument is falsey
Also add some unit tests.
2015-03-04 22:16:51 -08:00
Paul O’Shannessy fa8961118a Merge pull request #3294 from zpao/jsxcompiler-linenumbers
[docs] show line numbers in online jsx compiler
2015-03-04 18:45:18 -08:00
Paul O’Shannessy bda845cf4c [docs] Fox Ryan's name: #3311 2015-03-04 12:32:41 -08:00
Christopher Chedeau 4485903d40 Update round-up 25
(cherry picked from commit 40336d8144)
2015-03-04 12:32:37 -08:00
Christopher Chedeau af400ab17b Merge pull request #3304 from facebook/matthewjohnston4-croundup-1
Community Roundup #25 blog post
2015-03-04 09:06:38 -08:00
Jim 71675bb400 Merge pull request #3305 from brafdlog/patch-1
There was a redundant word in the sentence
2015-03-03 14:04:05 -08:00
Paul O’Shannessy 811057aae2 Facebook, not FaceBook 2015-03-03 12:49:02 -08:00
Paul O’Shannessy a3642d3995 v0.13 rc blog post 2015-03-03 12:42:57 -08:00
brafdlog 457c8e397d There was a redundant word in the sentence 2015-03-03 22:03:53 +02:00