Commit Graph
4200 Commits
Author SHA1 Message Date
Stefan Dombrowski cfb7d29dfd Add target option to npm readme 2015-04-09 13:04:04 +02:00
Jim 1067cbbeb7 Merge pull request #3580 from robertknight/2402-warn-multiple-copies-of-react-on-same-page
Warn when multiple instances of React are loaded on the same page
2015-04-08 19:18:44 -07:00
Ben Alpert 47a4a53a9c Merge pull request #3627 from spicyj/mut-warn-clone
Refer to cloneElement in mutation warning
2015-04-08 15:33:56 -07:00
Paul O’Shannessy 09f49e1f7f Merge pull request #3584 from ThornWinters/patch-1
More Uniform Formating
2015-04-08 15:33:16 -07:00
Ben Alpert 5e6fda79ae Merge pull request #3628 from spicyj/do-not-bind
Kill ReactDoNotBindDeprecated
2015-04-08 15:28:07 -07:00
Ben Alpert 52c572e6e6 Kill ReactDoNotBindDeprecated
No one uses this.
2015-04-08 15:15:02 -07:00
Ben Alpert 0d9169a443 Refer to cloneElement in mutation warning 2015-04-08 14:51:17 -07:00
Ben Alpert 7cda6da528 Merge pull request #3587 from spicyj/kill-plq
Kill ReactPutListenerQueue
2015-04-08 14:49:53 -07:00
Paul O’Shannessy b19799549e [docs] Fix typo
Introduced in #3589
2015-04-08 10:39:26 -07:00
Paul O’Shannessy b496d3dc8d Merge pull request #3604 from Charca/firefox-tests-fixes
Fixes for several failing tests in Firefox and Safari
2015-04-08 10:34:57 -07:00
Paul O’Shannessy 721c01a5d4 Merge pull request #3618 from TimeBomb/master
Document new es6module flag in react-tools README
2015-04-08 10:31:24 -07:00
Christoph Pojer d484dc08a0 Merge pull request #3622 from cpojer/copyright-headers
Add copyright headers to npm-react-codemod.
2015-04-08 10:29:06 -07:00
cpojer ce061d3698 Add copyright headers to npm-react-codemod. 2015-04-08 10:28:20 -07:00
Jim b3763d0257 Merge pull request #3621 from bhamodi/master
Update Copyright notices to include 2015
2015-04-08 10:10:12 -07:00
Baraa Hamodi 0f9faa93b8 Merge pull request #2 from bhamodi/bhamodi-patch-1
Update ReactDOMIframe-test.js
2015-04-08 13:06:50 -04:00
Baraa Hamodi 7492bbf2cb Update ReactDOMIframe-test.js 2015-04-08 13:06:37 -04:00
Baraa Hamodi 2ed57a2a20 Merge pull request #1 from bhamodi/2015-update
Update ReactCompositeComponentNestedState-test.js
2015-04-08 13:05:38 -04:00
Baraa Hamodi 8372ea18a0 Update ReactCompositeComponentNestedState-test.js 2015-04-08 13:02:43 -04:00
Jason db11a01a6a Document new es6module flag in react-tools README 2015-04-08 01:01:54 -07:00
Ben Alpert 092303f0ee Merge pull request #3589 from theseyi/master
Documentation: Fixed typo / grammar in 'clone with props'
2015-04-07 17:33:52 -07:00
Ben Alpert 0968ca0a9e Merge pull request #3595 from spicyj/select-ssr
Fix server-side rendering of <select>
2015-04-07 16:49:10 -07:00
Ben Alpert 3006a77b9b Fix server-side rendering of <select>
Fixes #1398.
2015-04-07 16:48:58 -07:00
Paul O’Shannessy cdee56ed06 Merge pull request #3612 from gaearon/patch-1
Mention Flux in “communicate between components”
2015-04-07 13:14:44 -07:00
Paul O’Shannessy 8301da8685 Merge pull request #3614 from kassens/set_style_null
Fix for style not always reset when set to null
2015-04-07 13:13:31 -07:00
Jan Kassens ad087d8bc3 Fix for style not always reset when set to null
When the style property existed, but was set to null, `this._previousStyleCopy`
was not set back to `null` causing an old value to persist. This broke setting
the style to `null` the next time.

Fixes #3606.
2015-04-07 12:17:06 -07:00
Dan Abramov e28704eb07 Mention Flux in “communicate between components” 2015-04-07 19:44:20 +03:00
Maxi Ferreira 2ab4349e79 Fixes for several failing tests in Firefox and Safari 2015-04-07 01:37:27 -03:00
Seyi Adebajo 7a5672fd0f Documentation: Suggested edit adds clarity regarding when 'shouldComponentUpdate' is triggered and what the 're-rendering' process entails. 2015-04-05 18:46:38 -04:00
Seyi Adebajo 6fdc66c10d Fixed typo / grammar docs 2015-04-05 18:46:38 -04:00
Ben Alpert 79ca1893cd Merge pull request #3590 from koba04/patch-1
component.render method returns a ReactElement.
2015-04-04 23:47:05 -07:00
Toru Kobayashi 037ed0e8e5 component.render method returns a ReactElement. 2015-04-05 15:33:19 +09:00
Ben Alpert c22f76276f Merge pull request #3588 from marocchino/ko-update
Update Korean translation to 052d8d9
2015-04-04 22:26:50 -07:00
Shim Won c5dac33904 Update Korean translation to 052d8d9 2015-04-05 09:44:54 +09:00
Ben Alpert 24bf701641 Kill ReactPutListenerQueue
As far as I can tell, this is almost equivalent and is simpler. When a component's componentDidMount is called, all the listeners for that subtree will have been attached which I think is all that matters.
2015-04-04 17:34:35 -07:00
Michael Warner b21dc6d7b1 More Uniform Formating
Corrected so the formatting in this document matches the same as others.
2015-04-03 20:37:42 -07:00
Ben Alpert 052d8d980a [docs] Fix type on renderIntoDocument
Fixes #3581.
2015-04-03 09:12:10 -07:00
Robert Knight 2f23101d53 Warn when multiple instances of React are loaded on the same page
This causes a variety of hard-to-debug issues.
See #2402 for examples.

Fixes #2402
2015-04-03 11:46:58 +01:00
Paul O’Shannessy 11d6110006 Merge pull request #3567 from chenglou/rm-getdomnode
Remove some `getDOMNode` from docs and DOMComponent test
2015-04-02 15:01:15 -07:00
Paul O’Shannessy 62ba501beb Merge pull request #3576 from chenglou/last-getdomnode
Remove last call to `getDOMNode` in tests
2015-04-02 15:00:39 -07:00
Cheng Lou bb82c8aa68 Remove last call to getDOMNode in tests 2015-04-02 17:26:19 -04:00
Cheng Lou 86f9f67635 Remove some getDOMNode from docs and examples 2015-04-02 17:23:27 -04:00
Ben Alpert e5daadb70b Merge pull request #3555 from spicyj/native-overrides
Import ResponderEventPlugin from react-native
2015-04-02 14:13:35 -07:00
Paul O’Shannessy ac92a6366b Merge pull request #3574 from rogozhnikoff/patch-1
Increase speed of shallowEqual
2015-04-02 13:55:11 -07:00
Ben Alpert 33fc611ab7 Fix ResponderEventPlugin to work in core React again
Test Plan: jest, grunt fasttest
2015-04-02 13:33:47 -07:00
Murad 3e8dd23b71 Update shallowEqual.js 2015-04-03 03:44:37 +08:00
Ben Alpert b4225f4525 Merge pull request #3572 from iamdoron/patch-1
use 'forEach' instead of 'map' when clearing intervals
2015-04-02 11:29:49 -07:00
Murad 61c5d58a9e Update shallowEqual.js
optimize for lint rules
2015-04-03 00:12:07 +08:00
Murad 9bc25326d9 Increase speed of shallowEqual
All testes successfully completed.

- for-in in browsers is slow, i replaced him by Object.keys + for(array)
- simple check of lengths let us not iterate if not same
- now we dont need to test for B's keys missing from A, because if length's is same and prev check success - objB hasn't more keys
- micro optimize: calling objB.hasOwnProperty
- micro optimize: replaced !objA || !obj for more speedy check === null

#inspiredby https://github.com/jurassix/react-immutable-render-mixin/pull/4
2015-04-02 23:43:29 +08:00
iamdoron 66a88df782 use 'forEach' instead of 'map' when clearing intervals 2015-04-02 14:06:08 +03:00
Jim c8afa1833a Merge pull request #3560 from mariodu/mariodu
fix render order error in safari.  Fixes #3560.
2015-04-01 17:40:09 -07:00