Sebastian Markbage
91e62c718b
Strip isomorphic stuff from the ReactNative module
...
Also, add a shim for the isomorphic module for ios and android so that
react-native doesn't pull in react-dom when React is required.
2016-04-20 03:35:30 +01:00
Sebastian Markbage
240dfae28c
Add React Native Modules to module map + fix fbjs
...
Our module rewrite whitelist needs to ignore providesModule files
that are going to be required from the global React Native
environment.
We also need to add ReactDOM to providesModule since we removed it
from React Native.
2016-04-20 03:35:30 +01:00
Sebastian Markbage
caa6abaecf
Build an dedicated npm package for react-native-renderer
2016-04-20 03:35:30 +01:00
Sebastian Markbage
8806463a66
Add Object Spread Support to Our Babel Config
...
Won't really use this in prod code yet but I have a benchmark that
uses it.
2016-04-20 03:35:30 +01:00
Sebastian Markbage
fe395def65
Move React Native platform files back
...
These files are really only related to the platform itself and not
the React integration so I'll move them back.
2016-04-20 03:35:30 +01:00
Sebastian Markbage
6c885d28c5
Remove duplicates and move files out of native/vendor
...
Moving the event plugins into their dedicated folder
Removing the ExecutionEnvironment override. I will just have to fix where needed. Probably related to the Chrome debugger?
2016-04-20 03:35:30 +01:00
Sebastian Markbage
f463b731ee
Copy files from the react-native repo
2016-04-20 03:35:30 +01:00
Adrian Sieber
8156ee0cab
Minor fixes ( #6527 )
...
* Fix typos in CHANGELOG.md
* Fix typos in 2014-11-24-react-js-conf-updates.md
2016-04-19 14:41:42 -07:00
Denis Laxalde
de7d1da997
Remove mention of deprecated ReactLink add-on ( #6535 )
2016-04-18 06:26:10 -07:00
hkal
dc6fc8cc07
Helper for escaping and unescpaing component keys ( #6500 )
...
- Abstract escaping
- Provide human readible same key warnings
2016-04-15 20:55:37 -07:00
Jim
a12aab10cb
Mention Enzyme on the test utils page. ( #6523 )
2016-04-15 16:20:43 -07:00
Jason Quense
045f1a791c
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
4016e71609
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
6cf77ef55e
Ensure validateDOMNesting catches nested body elements
2016-04-14 20:14:45 -04:00
Dan Abramov
6a93137f0e
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
befb70e42f
Merge pull request #6519 from zpao/envdocsfixup
...
Cleanup environments doc
2016-04-14 14:44:25 -07:00
Paul O’Shannessy
bcad0a2973
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
3b28602220
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
6a8c7518d3
Merge pull request #6510 from jimfb/ssr-environment-docs
...
Added docs for environment integration.
2016-04-14 12:27:59 -07:00
Jim
66bfee6543
Added docs for environment integration.
2016-04-14 12:25:17 -07:00
Dan Abramov
36e4fe54a8
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
ae56910573
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
0b1fd18685
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
932334d3d4
Merge pull request #6504 from alexlur/patch-1
...
Replaces Array#map with Array#forEach
2016-04-13 10:43:13 -07:00
Alex
9d94d003a9
Replaces Array#map with Array#forEach
2016-04-13 17:11:08 +08:00
Jim
5785a418a2
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
Jim
c01c46b88a
Create section on using React with package managers.
2016-04-12 12:39:49 -07:00
Nate Hunzaker
ec2c542f28
Flip conditional in DisabledInputUtils to cut hasOwnProperty calls
2016-04-08 19:47:40 -04:00
Nate Hunzaker
fc23239b67
Follow style conventions
2016-04-08 19:47:40 -04:00
Nate Hunzaker
0200946112
Move getNativeProps usage inline
2016-04-08 19:47:40 -04:00
Nate Hunzaker
fe739c2883
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
6c11bb65e1
Use the same changelog format as 15.0 post
2016-04-08 23:00:20 +01:00
Paul O’Shannessy
0a8f7329b4
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
dc0bea7a52
Fix extraneous markup in changelog
2016-04-08 14:41:20 -07:00
Paul O’Shannessy
44a0bd7478
Actually bump version on website
...
(cherry picked from commit d72885b383 )
2016-04-08 14:39:03 -07:00
Paul O’Shannessy
42c0d4199b
Update website for 15.0.1
...
(cherry picked from commit fd1476e3aa )
2016-04-08 14:39:03 -07:00
Paul O’Shannessy
a7e0da588a
15.0.1 blog post
...
(cherry picked from commit 142e4ebb57 )
2016-04-08 14:39:03 -07:00
Paul O’Shannessy
9bbe80a6cc
Update changelog & readme for 15.0.1
...
(cherry picked from commit a6179d03f3 )
2016-04-08 14:39:03 -07:00
Wildhoney
167c27e188
Re-added support for attaching events to document fragments
2016-04-08 19:31:14 +01:00
Jim
5ac51c39a0
Merge pull request #6442 from trevorsmith/master
...
Correctly select options when nested inside an optgroup
2016-04-08 09:55:43 -07:00
Jim
25481083b0
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
09022b165f
Merge pull request #6443 from Aweary/patch-1
...
Grammar fix for 15.0 blog post
2016-04-08 09:09:43 -07:00
Brandon Dail
0149e8a4a9
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
08fd7d4a48
Fix extra parens in CHANGELOG
2016-04-08 17:03:44 +01:00
mondaychen
4e81eb4403
"0" can be the only valid unitless number string
2016-04-08 11:55:31 -04:00
Ben Alpert
2b1bd1d7fe
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
5cb4a620e7
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
516c1d809e
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
fc1cfb6225
Make React.__spread warn
2016-04-07 17:30:23 -07:00
Paul O’Shannessy
f02d87bdb5
Revert "Merge pull request #6431 from sebmarkbage/killspread"
...
This reverts commit a37e4e94fc , reversing
changes made to 411951d5b8 .
2016-04-07 16:16:37 -07:00