Paul O’Shannessy
ee410d68d6
Merge pull request #4395 from wibud/v0.0.1
...
add animationIterationCount in isUnitlessNumber
2015-07-23 13:44:08 -07:00
Ben Alpert
d16481d0e7
Merge pull request #4453 from spicyj/react-dom
...
Rename ReactDOMClient to ReactDOM
2015-07-23 11:27:25 -07:00
Jim
054fa0e16b
Use old event propagation if path is not reasonable (eg. detached DOM). Fixes #4452
2015-07-22 12:43:59 -07:00
Ben Alpert
6c20271488
Rename ReactDOMClient to ReactDOM
...
This closer matches the npm package name and (I assume) is what we want to call it internally.
2015-07-21 19:30:09 -07:00
Ben Alpert
6fe034e6f9
Pull out tag end regex
...
For perf -- avoids allocating another object.
2015-07-21 11:53:13 -07:00
Jim
57d14ec33a
Merge pull request #4400 from jimfb/adler32
...
Improved performance for our adler32 implementation.
2015-07-20 18:53:58 -07:00
Jim
57e9e5bf23
Improved performance for our adler32 implementation
2015-07-20 18:50:05 -07:00
Ben Alpert
16483e3cca
Merge pull request #4427 from spicyj/gh-1232
...
Fix switching between dangerouslySetInnerHTML and children
2015-07-20 16:57:01 -07:00
Ben Alpert
caae627cd5
Fix switching between dangerouslySetInnerHTML and children
...
With this, ReactMultiChild handles all of the children-related operations for ReactDOMComponent so that we don't process operations out of order. This is necessary because ReactMultiChild does its own batching so there's no way without its cooperation to get the timing right here.
Ideally we'll factor this logic out a bit better in subsequent updates but this is the simplest way to fix #1232 which has embarrassingly been open for over a year.
2015-07-20 16:37:43 -07:00
Richard Feldman
c13588ef0a
Fix typo in removeComponentAsRefFrom error message.
2015-07-20 11:16:15 -07:00
dongmeng.ldm
28329e8655
add animationIterationCount in isUnitlessNumber
2015-07-20 10:45:23 +08:00
Ben Alpert
33a5a64160
Merge pull request #4387 from spicyj/aep
...
Remove AnalyticsEventPlugin
2015-07-18 21:27:36 -07:00
Jim
c73f95292c
Merge pull request #4408 from jimfb/remove-children-map
...
Removed flattened children object. Fixes #4405
2015-07-17 22:19:39 -07:00
Jim
fe99e59c81
Removed flattened children object for initial render. Fixes #4405
2015-07-17 22:01:59 -07:00
Bartosz Kaszubowski
da11691e26
invert few if-else with negation for readability
2015-07-18 00:19:28 +02:00
Paul O’Shannessy
a28325e412
Enable linting in src/tests, cleanup
2015-07-17 13:35:17 -07:00
Paul O’Shannessy
5da408297f
Remove in-browser unit testing
...
Rely on jest for now until we get a better and less hacky solution to running tests in the browser, probably a totally different test suite with different behavior/goals.
2015-07-17 00:13:16 -07:00
Ben Alpert
6858c7120c
Remove AnalyticsEventPlugin
...
We only ever had a couple internal users of this, and now we have none. Removing it from the repo for cleanliness.
2015-07-15 15:36:55 +02:00
Joe Stein
1b5bfb516a
Add wrap attribute
2015-07-13 15:00:03 -07:00
Jim
52ad6bc61a
Merge pull request #4324 from drd/improve-warning-in-react-mount
...
Improve warning in react mount
2015-07-10 11:06:32 -07:00
laiso
804b109ba6
Remove the unexpected character in ReactEventListener
2015-07-11 01:00:21 +09:00
Daniel Cousens
dfe5f19917
s/currentPathElemenID/currentPathElementID
2015-07-10 16:38:39 +10:00
Paul O’Shannessy
7032e88c25
ID not Id
2015-07-09 22:49:26 -07:00
Eric O'Connell
d2e8449bf0
Only perform expensive checks in __DEV__, clean up after inserted iframe
2015-07-09 15:49:49 -07:00
Paul O’Shannessy
d6183570e3
Reset module cache between tests
...
This ensures that module caches for warnings is reset between runs. This makes
it so the deprecations warnings always fire.
2015-07-09 15:24:43 -07:00
Jim
cf164f1aa2
Merge pull request #4327 from jimfb/markup-unit-test
...
Add unit test: should generate simple markup for attribute with `>` symbol
2015-07-09 15:05:08 -07:00
Jim
7b1f03f4f8
Merge pull request #4311 from jimfb/fix-input-events
...
Fix event target for input change events. Fixes #4288
2015-07-09 15:03:37 -07:00
Eric O'Connell
0941cc9884
Use a test case that demonstrates the fix.
2015-07-09 14:56:55 -07:00
Jim
b89f7ebff4
Add unit test: should generate simple markup for attribute with > symbol
2015-07-09 14:26:41 -07:00
Jim
dfeeb3f673
Fix checksum hash attribute insertion for self-closing root tags. Fixes #4323
2015-07-09 14:21:40 -07:00
Eric O'Connell
902b607f1f
Fix some lint
2015-07-09 14:06:42 -07:00
Eric O'Connell
1316160b86
Properly handle rendering into document when comparing markup
2015-07-09 11:48:42 -07:00
Toru Kobayashi
17a4dc83e0
Add runtime deprecation warning for cloneWithProps
2015-07-09 19:12:26 +09:00
Eric O'Connell
0249adf3db
Handle escaping when comparing server/client markup
2015-07-08 20:31:10 -07:00
Jim
4b804e485d
Fix event target for input change events. Fixes #4288
2015-07-07 17:14:52 -07:00
Jim
500d4c3f87
Merge pull request #4209 from aruberto/iterable_node_proptype
...
Allow iterables to pass node prop type check
2015-07-05 17:19:37 -07:00
Bartosz Kaszubowski
7a2be27d63
semicolon cleanup
...
One unnecessary semicolon removed and few missing added.
2015-07-05 01:06:04 +02:00
Levi Buzolic
3b2df5fd9c
Add inputMode to HTML DOM Property Whitelist
2015-07-04 02:17:22 +02:00
Ben Alpert
10f8e22e20
Add missing semicolon
2015-07-03 10:53:00 +02:00
Ben Alpert
b4e74e38e4
Bump version to beta1
2015-07-03 10:46:35 +02:00
Ben Alpert
41aa3496aa
Add setProps/replaceProps warning
2015-07-03 10:46:35 +02:00
Ben Alpert
2b68ea21ee
Removed most uses of setProps in unit tests
...
Picked from 721fe73541 .
2015-07-03 10:46:35 +02:00
Ben Alpert
4eb889b72e
Revert "Removed setProps and replaceProps (both previously deprecated)"
...
This reverts commit 721fe73541 . We'll keep these with a warning for one more release.
2015-07-03 10:46:35 +02:00
Ben Alpert
33d5201a94
Finish addons packaging
...
- Add missing object-assign dependency
- Add batchedUpdates to ReactDOMClient, rename the two addons to `unstable_`
- Delete react/addons/* (leaving react/addons with a slightly updated warning)
- Add README.md, LICENSE, PATENTS to each addons package
2015-07-02 23:33:16 +02:00
Ben Alpert
0eaa0a6ff7
Fix jest tests
2015-07-02 22:54:22 +02:00
Ben Alpert
07107ca936
Merge pull request #4184 from zpao/move-from-addons
...
Move renderSubtreeIntoContainer into ReactDOMClient
2015-07-02 22:53:47 +02:00
Kamron Batman
72b432df03
Fixed header comment spacing.
...
Fixed header comment spacing in the header for ReactComponentWithPureRenderMixin.
2015-07-02 09:36:52 -07:00
Jim
2baf4bf4e8
Merge pull request #4268 from jimfb/remove-setprops
...
Removed setProps and replaceProps (both previously deprecated)
2015-07-02 04:47:18 -07:00
Jim
6a92179d6f
Merge pull request #4221 from jimfb/ryans-context-bug
...
updateComponent should update the context iff it has changed
2015-07-02 04:45:41 -07:00
Jim
4a465fbd9a
Make events propagate through shadow DOMs.
2015-07-02 04:32:22 -07:00