Sebastian Markbåge
aacb5467a0
Merge pull request #6584 from sahrens/patch-1
...
[RN] Don't hold interaction handles for all touches
2016-04-22 16:54:59 -07:00
Sebastian Markbåge
ea504521d5
Merge pull request #6587 from sahrens/patch-2
...
Move PanResponder back to react-native repo temporarily.
2016-04-22 16:44:26 -07:00
Spencer Ahrens
1fc7487eaa
Move PanResponder back to react-native repo temporarily.
...
We have some more work to do with this before we can pull it out of react-native. FB Task #10926500
2016-04-22 16:37:00 -07:00
Spencer Ahrens
983a365f74
[RN] Don't hold interaction handles for all touches
...
We don't want to hold handles while doing native scrolling, etc.
FB Task: #10926500
2016-04-22 16:22:44 -07:00
Paul O’Shannessy
5ddfee8cfe
Merge pull request #6576 from yuji0602/tutorial_md_sample_json_change
...
Changed example json value.
(cherry picked from commit ec036ed185 )
2016-04-22 13:08:48 -07:00
Ike Peters and Jim
9df54e0fce
properly handling invalid scryRenderedDOMComponentsWithClass args ( #6529 )
...
properly handling invalid scryRenderedDOMComponentsWithClass args
properly handle invalid scryRenderedDOMComponentsWithClass args
2016-04-21 17:09:04 -07:00
Esteban and Jim
416f315c96
Fix return type in onlyChild's JSDoc ( #6573 )
...
The return type is a 'ReactElement' instead of a 'ReactComponent'.
2016-04-21 16:02:20 -07:00
Ben Alpert
0dc9b91017
Merge pull request #6572 from spicyj/rn-batch
...
Batch event handling in React Native
2016-04-21 15:14:56 -07:00
Ben Alpert
9f11f8c263
Batch event handling in React Native
...
This fixes an issue where handling events on a node that was just removed threw a "All native instances should have a tag." error and matches what we do in the DOM renderer in ReactEventListener.
2016-04-21 15:06:48 -07:00
Esteban and Jim
9462d0d040
Fix mapFunction parameters in mapChildren's JSDoc ( #6569 )
...
Remove 'key' parameter from 'mapFunction(child, key, index)'. It is no longer called with 'key'.
2016-04-21 14:28:08 -07:00
Minwei Xu and Jim
b7a2409919
ref-09-webcomponents.zh-CN.md ( #6561 )
2016-04-20 20:07:02 -07:00
Paul O’Shannessy
bddecc9696
Merge pull request #6553 from zpao/cleanuppkg
...
Clean up package.json after #6338
2016-04-20 10:34:44 -07:00
Paul O’Shannessy
9354751dc9
Clean up package.json after #6338
2016-04-20 10:29:39 -07:00
Sebastian Markbåge
c84ad52ddb
Merge pull request #6338 from sebmarkbage/reactnative2
...
Move React Core Integration and Injection to the Core Repo
2016-04-20 03:41:20 +01:00
Sebastian Markbage
ada60c4fd8
Remove ReactDOM.native shim
...
This is causing build errors.
This should be in the downstream repo if anything.
Relay has its own shim that should be preferred.
2016-04-20 03:35:31 +01:00
Sebastian Markbage
744548ad14
Fix lint for moved ReactNative
2016-04-20 03:35:31 +01:00
Sebastian Markbage
5470972f6a
Update devtools injection
...
This isn't actually used right now so I can't test it. Because the
Chrome devtools are broken for React Native. The Nuclide integration
is in the react-native repo.
2016-04-20 03:35:31 +01:00
Sebastian Markbage
c7d90e2b35
Ensure react-native-renderer package gets copied
2016-04-20 03:35:31 +01:00
Sebastian Markbage
22a8f9964e
Don't try to get the target node for responder if there is no listener
...
This can happen in edge cases where he listeners are already
unmounted or not mounted yet or something.
2016-04-20 03:35:31 +01:00
Sebastian Markbage
064092102d
Bump package versions
2016-04-20 03:35:31 +01:00
Sebastian Markbage
dc188dd521
Update ReactNativeDOMIDOperations to deal with a single parent node
...
This is the new protocol.
2016-04-20 03:35:31 +01:00
Sebastian Markbage
4fcdf02068
Listeners are not attached by ID in the API
...
...even though they technically still are attached by.
2016-04-20 03:35:31 +01:00
Sebastian Markbage
3287d93235
Build up a native component cache for event dispatching
...
Changes to event overloading structure
2016-04-20 03:35:31 +01:00
Sebastian Markbage
75cec60e48
Get rid of rootNodeIDs they're just tags now
2016-04-20 03:35:30 +01:00
Sebastian Markbage
97b079b364
Fix ReactNativeComponentEnvironment providesModule
...
This has a different file name from its providesModule. Screws up
our build scripts.
2016-04-20 03:35:30 +01:00
Sebastian Markbage
f8335168b6
Fix 0.15 compatibility
2016-04-20 03:35:30 +01:00
Sebastian Markbage
d8e8ea5cbb
Add test and mocks
...
Mock UIManager
Comment out dontMock that actually needs mocking
2016-04-20 03:35:30 +01:00
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 and Jim
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 and Jim
de7d1da997
Remove mention of deprecated ReactLink add-on ( #6535 )
2016-04-18 06:26:10 -07:00
hkal and Jim
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 and Jim
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 and 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