Stolenkid
aeda84602f
fixed a minor typo ( #6600 )
2016-04-25 14:37:52 -07:00
Dan Abramov
7dbc95f379
Merge pull request #6605 from gaearon/fix-warning-condition
...
Fix the warning condition in ReactDebugTool and ReactDOMDebugTool
2016-04-25 20:16:52 +01:00
z.ky
f4e608fc2e
Update tutorial - add link for starting server ( #6602 )
...
To be extra helpful to beginners, and avoid questions like this: http://stackoverflow.com/questions/35758956/react-tutorial-how-do-i-start-the-server
2016-04-25 11:20:47 -07:00
Dan Abramov
1f97103d7b
Flip the warning condition in ReactDebugTool and ReactDOMDebugTool
...
The current warning condition caused the first error to be swallowed, and all the next errors to be logged. I believe the intention was the opposite: to log the first error, and to ignore any next errors for the same method.
2016-04-25 00:41:53 +01:00
Dan Abramov
f89f94d145
Add tests for ReactDebugTool and ReactDOMDebugTool
2016-04-25 00:41:32 +01:00
Sebastian Markbåge
69b6869a3e
Ignore events fired on missing React Native instances
...
This can happen if something gets unmounted before the event gets
dispatched. I'm not sure how this works out exactly but this
preserves previous behavior in this scenario.
2016-04-23 13:10:00 -07:00
Sebastian Markbåge
2f2ed71bd0
Merge pull request #6588 from sahrens/patch-3
...
Delete ReactNativeGlobalInteractionHandler.js
2016-04-22 16:55:08 -07:00
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
Spencer Ahrens
63fbc3f72e
Delete ReactNativeGlobalInteractionHandler.js
...
Depends on https://github.com/facebook/react/pull/6584 to no longer reference is. See FB task #10926500
2016-04-22 16:53:34 -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
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
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
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
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
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