Commit Graph
6513 Commits
Author SHA1 Message Date
Jim 96ef46101d Mention Enzyme on the test utils page. (#6523) 2016-04-15 16:20:43 -07:00
Jason QuenseandJim 0f025033f8 Only fire input value change events when the value changes (#5746)
* Only fire input value change events when the value changes

fixes #554, fixes #1471, fixes #2185 (still trying to figure out why)

* catch programmatic value changes

* move value tracking to seperate module
2016-04-15 14:37:26 -07:00
Ben Alpert 9b341bf44d Merge pull request #6469 from keyanzhang/validate-foreignObject-children
Ensure validateDOMNesting catches nested body elements
2016-04-14 18:27:13 -07:00
Keyan Zhang 9ebffb24d7 Ensure validateDOMNesting catches nested body elements 2016-04-14 20:14:45 -04:00
Dan Abramov 5b2b287a85 Merge pull request #6516 from gaearon/ignore-dom-writes-outside-batch
Ignore DOM writes outside the batch in ReactPerf
2016-04-15 00:03:17 +01:00
Paul O’Shannessy f61b3e6630 Merge pull request #6519 from zpao/envdocsfixup
Cleanup environments doc
2016-04-14 14:44:25 -07:00
Paul O’Shannessy b2463d2d3b Cleanup environments doc
- Use correct "Note" formatting so they render correctly
- reordered sections so Node is first
- Use "Node.js" consistently (it is a product name just like Nashorn)
- added/tweaked some of the text
- simplified the Java code so it doesn't hit the internet.
2016-04-14 14:17:44 -07:00
Dan Abramov ff1a9d6a9f Ignore DOM writes outside the batch in ReactPerf
ReactDOMInput and a few other classes handle change event by scheduling updateWrapper() in an asap().
It gets executed after the batch, which confuses ReactPerf that expects all DOM writes to happen during a batch.
Since this implementation of ReactPerf relying on the stack is going away, let's plug the hole temporarily by ignoring DOM writes that occur during postponed updateWrapper(). In any case, they have no relation to actual calculations of wasted renders, as they don't occur due to updateComponent(), but rather due to onChange() special DOM behavior.

This fixes #5548
2016-04-14 20:57:44 +01:00
Jim fb1ba681ca Merge pull request #6510 from jimfb/ssr-environment-docs
Added docs for environment integration.
2016-04-14 12:27:59 -07:00
Jimandjim 2fc7ed65f2 Added docs for environment integration. 2016-04-14 12:25:17 -07:00
Dan Abramov 3a2488bc09 Merge pull request #6215 from nhunzaker/nh-fix-disabled-inputs
Disabled inputs should not respond to clicks in IE
2016-04-14 19:40:21 +01:00
Dan Abramov 5e0c231363 Merge pull request #6362 from gaearon/no-owner-in-test-utils
Elements from functional components in TestUtils should have no owner
2016-04-14 18:54:10 +01:00
Jim 9b7db89648 Merge pull request #6462 from Wildhoney/master
Re-added support for attaching events to document fragments
2016-04-14 10:17:57 -07:00
Paul O’Shannessy 37bce7a7b0 Merge pull request #6504 from alexlur/patch-1
Replaces Array#map with Array#forEach
2016-04-13 10:43:13 -07:00
Alex 3892d7ab3f Replaces Array#map with Array#forEach 2016-04-13 17:11:08 +08:00
Jim 9294f2157c Merge pull request #6148 from jimfb/node-package-manager
Create section on using React with package managers.
2016-04-12 22:33:47 -07:00
Jimandjim 547e28a9ea Create section on using React with package managers. 2016-04-12 12:39:49 -07:00
Nate Hunzaker 25a630a042 Flip conditional in DisabledInputUtils to cut hasOwnProperty calls 2016-04-08 19:47:40 -04:00
Nate Hunzaker a1d9b5db32 Follow style conventions 2016-04-08 19:47:40 -04:00
Nate Hunzaker 392df327bb Move getNativeProps usage inline 2016-04-08 19:47:40 -04:00
Nate Hunzaker 6dbda1d82c Disabled inputs should not respond to clicks in IE
This commit migrates over the disabled property behavior from
ReactDOMButton into a general purpose disabled event filter. It also
applies that behavior to inputs, selects, and textareas.
2016-04-08 19:47:40 -04:00
Dan Abramov 9025843cd4 Use the same changelog format as 15.0 post 2016-04-08 23:00:20 +01:00
Paul O’Shannessy 0bed9b8a3b Update react-linked-input
- Restores React dep to 15
- Bumps version to 1.0.1 for publishing
2016-04-08 14:53:37 -07:00
Paul O’Shannessy 43a26a1e91 Fix extraneous markup in changelog 2016-04-08 14:41:20 -07:00
Paul O’Shannessy 77d12c587a Actually bump version on website
(cherry picked from commit d72885b383ffb23597048b649ed2a94ed17cb362)
2016-04-08 14:39:03 -07:00
Paul O’Shannessy 46205bea64 Update website for 15.0.1
(cherry picked from commit fd1476e3aab038711ba32eae3d1dce06e7d8032f)
2016-04-08 14:39:03 -07:00
Paul O’Shannessy 4934550d6d 15.0.1 blog post
(cherry picked from commit 142e4ebb57269c4f44004204acdeea31945ab4a2)
2016-04-08 14:39:03 -07:00
Paul O’Shannessy d13b813b20 Update changelog & readme for 15.0.1
(cherry picked from commit a6179d03f37a23f278ebc6adce1c01d17656e597)
2016-04-08 14:39:03 -07:00
Wildhoney f526f9e9af Re-added support for attaching events to document fragments 2016-04-08 19:31:14 +01:00
Jim f01abd8e15 Merge pull request #6442 from trevorsmith/master
Correctly select options when nested inside an optgroup
2016-04-08 09:55:43 -07:00
Jim 4382710d7b Merge pull request #6458 from mondaychen/master
No unit-less CSS value warning for `value: "0"`
2016-04-08 09:20:39 -07:00
Jim 2769bca9f8 Merge pull request #6443 from Aweary/patch-1
Grammar fix for 15.0 blog post
2016-04-08 09:09:43 -07:00
Brandon DailandBrandon Dail 024ec96697 Grammar fix for 15.0 blog post
Since "This" is the subject and singular, "have" should be "has"

New wording explaining implementation details

Grammar fix for 15.0 blog post

Since "This" is the subject and singular, "have" should be "has"

Fix wording for 15.0 blog post

nitpicks
2016-04-08 11:04:06 -05:00
Dan Abramov 2f14ab0717 Fix extra parens in CHANGELOG 2016-04-08 17:03:44 +01:00
mondaychen c725e68ad0 "0" can be the only valid unitless number string 2016-04-08 11:55:31 -04:00
Ben Alpert 34cb357b4c Merge pull request #6449 from spicyj/option-value
Set value using attribute only on initial option render
2016-04-07 21:19:37 -07:00
Ben Alpert 60d69bf1b6 Set value using attribute only on initial option render
Tested that you can now type in the middle of a controlled input in Chrome which previously jumped your cursor to the end.

Fixes #6445.
2016-04-07 19:04:30 -07:00
Paul O’Shannessy 731b89ef6d Merge pull request #6444 from zpao/re__spreadwarn
Add back React.__spread and make it warn
2016-04-07 17:30:44 -07:00
Paul O’Shannessy 76cb5f683f Make React.__spread warn 2016-04-07 17:30:23 -07:00
Paul O’Shannessy e7969a511b Revert "Merge pull request #6431 from sebmarkbage/killspread"
This reverts commit 75879513d1, reversing
changes made to 8b1acc498d.
2016-04-07 16:16:37 -07:00
Trevor Smith 6a29430417 Remove an unnecessary call to findDOMNode in the select optgroup test. 2016-04-07 16:43:35 -06:00
Trevor Smith cc392161b8 Add a null check when checking for the native parent of an option element. 2016-04-07 16:42:50 -06:00
Trevor Smith 4633872b74 Correctly select options when nested inside an optgroup 2016-04-07 16:30:51 -06:00
Paul O’Shannessy 00e51ccd9b [docs] Clarify data-reactid in v15 post 2016-04-07 15:27:05 -07:00
Paul O’Shannessy b3b7ef73b0 Update readme for v15
(cherry picked from commit c49166401a582026f610f28062151d53435d9d7a)
2016-04-07 15:15:45 -07:00
Paul O’Shannessy c8076eb409 Update Changelog for v15
(cherry picked from commit 500c0003b217741de00f19b93d5ee3d11481ffb3)
2016-04-07 15:15:44 -07:00
Paul O’Shannessy ca8df88699 [docs] Update site for v15
(cherry picked from commit 0275d77fc05eba6b276c164e53f561f553b4e975)
2016-04-07 15:15:44 -07:00
Dan AbramovandPaul O’Shannessy 695df977a7 Add React 15 post
(cherry picked from commit 67a4b12e270e6d343a3a8274b212e63f5199617c)
2016-04-07 15:15:44 -07:00
Paul O’Shannessy 879c22a50d [docs] Update acknowledgements for v15
(cherry picked from commit 40c0867f6319f57ebc2b810aa8caac328db14b66)
2016-04-07 15:15:44 -07:00
Dan AbramovandPaul O’Shannessy b5a4c166c5 Add the missing download
(cherry picked from commit 1aee28ef1b1489caae70954b99fd1a1dbc5da1bb)
2016-04-07 14:35:00 -07:00