Brian Vaughn
a99f0d6100
Temporarily patched Map/Set non-extensible check into RN dev renderer
...
Reviewed By: jingc
Differential Revision: D6461125
fbshipit-source-id: 8b30a22db4e357717f1c4f4e21a85ddef02d97d1
2017-12-05 12:27:12 -08:00
Brian Vaughn
cd938d731c
React sync for revisions 2d23a45...9491dee
...
Reviewed By: flarnie
Differential Revision: D6436328
fbshipit-source-id: 370b862c23c9804bd6df72812d08baceaebfca78
2017-11-29 10:16:58 -08:00
Brian Vaughn
c7f37074ac
React sync for revisions 589c0a2...2d23a45
...
Reviewed By: acdlite
Differential Revision: D6328351
fbshipit-source-id: 88dc0f6ec9947e4a908c21f3a3df46bca5a7fdbc
2017-11-15 09:16:18 -08:00
Brian Vaughn
43241e591d
Moved `PooledClass` and improved `js1 upgrade react`
...
Reviewed By: gaearon
Differential Revision: D6136816
fbshipit-source-id: fca775786cf4f1717509d9bfeb0f789cc6a99e4e
2017-10-24 12:30:27 -07:00
Brian Vaughn
678a7f3c39
React sync for revisions b5ac963...5f93ee6f6
...
Reviewed By: gaearon
Differential Revision: D5950896
fbshipit-source-id: 74aebcee8a64e8552b170223adf59ed4ed905a74
2017-10-04 10:16:15 -07:00
Brian Vaughn
8bf8b21613
React sync for revisions abce30f...b5ac963
...
Reviewed By: sophiebits
Differential Revision: D5853012
fbshipit-source-id: d0ebf12d2c801dc3e232fe18f9cc25e477812350
2017-09-18 16:45:26 -07:00
Brian Vaughn
75c94a8907
Native view manager event types exposed to JS via view config
...
Differential Revision: D5814210
fbshipit-source-id: 41291f0d6b39af77f66173f6a699d88f9f4ccc74
2017-09-14 18:17:17 -07:00
Brian Vaughn
e9780bdc0f
ReactNative sync (c3718c4...abce30f): the one about the Prepack optimizations
...
Reviewed By: sophiebits
Differential Revision: D5626312
fbshipit-source-id: f8158ccb14f991b681fba34fb23933042266939d
2017-09-14 18:17:17 -07:00
Caleb Meredith
63f990121a
Fix React Native open source
...
Reviewed By: hramos, TheSavior
Differential Revision: D5728356
fbshipit-source-id: fb751d67c16ba9273de93d9b6d5acd65b1555dca
2017-08-29 15:01:05 -07:00
Caleb Meredith
90eaeb019b
Upgrade fbsource/xplat/js to Flow v0.53.0
...
Reviewed By: avikchaudhuri
Differential Revision:
D5648819
Ninja: T20988071
fbshipit-source-id: 66e5b6747c79ae66b6eb69d40ede5e982c26174f
2017-08-17 18:45:01 -07:00
Caleb Meredith
30d9c3d279
Add suppressions for Flow v0.53.0 before React changes
...
Reviewed By: avikchaudhuri
Differential Revision: D5648801
fbshipit-source-id: c4eb1bee198a177b69b6e9414111ce957b4d27ff
2017-08-17 05:18:33 -07:00
Kevin Gozali
66da0d27da
move the ReactNativeFeatureFlags outside of sync dir
...
Reviewed By: bvaughn
Differential Revision: D5627037
fbshipit-source-id: 0544b822ba03090a74695911b6951e91262478a0
2017-08-15 10:48:43 -07:00
Kevin Gozali
b58207e61f
remove internal copy of ReactNativeFeatureFlags
...
Reviewed By: bvaughn, davidaurelio
Differential Revision: D5618991
fbshipit-source-id: 8b93bca186523585732c2177540189a1d83f9c90
2017-08-14 11:05:35 -07:00
Alexey Lang
3a031cc93a
Bring back React Stack support
...
Reviewed By: javache
Differential Revision: D5547208
fbshipit-source-id: 25cef6aa27fc4f17b26e1088256819ea235f79cf
2017-08-10 04:17:27 -07:00
Ben Alpert
460c5dbdf9
unbreak touching in prod mode
...
Reviewed By: ejanzer, bvaughn
Differential Revision: D5599808
fbshipit-source-id: bbc666c5a7e15323504100bdf3b04452e152fdb5
2017-08-09 20:02:17 -07:00
Brian Vaughn
046f600cc2
React 16 beta 5 sync (5495e49...c3718c4)
...
Reviewed By: spicyj
Differential Revision: D5564030
fbshipit-source-id: fd3e6133df7ee8e7488a3c515ce6c783c11d9401
2017-08-09 12:35:30 -07:00
Brian Vaughn
221286be13
React sync for revisions cb32253...5495e49
...
Reviewed By: acdlite
Differential Revision: D5416055
fbshipit-source-id: c69de0d699f11dec4a71fb6e3f924ade3446bba0
2017-07-13 17:38:57 -07:00
Brian Vaughn
30352ecbf2
React sync for revisions 4aea7c3...cb32253
...
Reviewed By: sebmarkbage
Differential Revision: D5322642
fbshipit-source-id: 91ac72b2fc3be9c5805db1ac4bd72d3fcee5b70f
2017-06-26 15:15:59 -07:00
Brian Vaughn
40b5486eea
React sync for revisions a37012a...4aea7c3
...
Reviewed By: gaearon
Differential Revision: D5222812
fbshipit-source-id: 3dd3dd82f2a8a5080bb3a47b78f92eb26c435b11
2017-06-12 14:20:48 -07:00
Brian Vaughn
a4947d1778
React Native sync
...
Reviewed By: sebmarkbage
Differential Revision: D5214576
fbshipit-source-id: 41f350ce8961851c7404257df8295d505471d9f4
2017-06-08 19:15:59 -07:00
Brian Vaughn
0bc3bb06ed
Updated react sync script
...
Reviewed By: yungsters
Differential Revision: D5194769
fbshipit-source-id: c475d44616144ea354785b981b1f6068be49f848
2017-06-06 22:53:10 -07:00
Dominic Gannaway
59e41b4485
Refactor of Fiber integration with React Fiber + Stack
...
Summary:
This PR aims to update the Inspector tool in React Native to use the new inspection APIs that have been added to the ReactNative renderer:
https://github.com/facebook/react/pull/9691
This PR also cleans up the code in `Inspector.js` so there's no usage of React's internals.
Closes https://github.com/facebook/react-native/pull/14160
Reviewed By: bvaughn
Differential Revision: D5129280
Pulled By: trueadm
fbshipit-source-id: b1b077c04f46b0f52cdea0e19b4154441558f77a
2017-05-30 10:02:32 -07:00
Brian Vaughn
94c565a2c4
Flat ReactNative renderer bundle [WIP]
...
Reviewed By: trueadm
Differential Revision: D5013497
fbshipit-source-id: 1e23b08751b8b6e2dd570ff584c815c8a9b8f35f
2017-05-26 11:03:06 -07:00
Gabe Levi
3ddc7d47d5
Fix react-native function call arity errors
...
Reviewed By: zertosh
Differential Revision: D5081816
fbshipit-source-id: 5978770c30a69fb287d03aa7511999ce30f856a1
2017-05-18 16:55:55 -07:00
Dan Abramov
074c3cef14
Work around a false positive warning
...
Summary:
This works around a false positive `isMounted()` deprecation warning when using latest React DevTools and selecting components in the hierarchy.
Before:
![screen shot 2017-05-09 at 7 03 39 pm 1](https://cloud.githubusercontent.com/assets/810438/25865249/3a5cc9e2-34ea-11e7-9930-6d0d8436b390.png )
After:
![screen shot 2017-05-09 at 7 02 54 pm](https://cloud.githubusercontent.com/assets/810438/25865274/4d2d573a-34ea-11e7-8bdd-807e32c54594.png )
Closes https://github.com/facebook/react-native/pull/13873
Reviewed By: bvaughn
Differential Revision: D5029550
Pulled By: gaearon
fbshipit-source-id: cbe941368e8204a335de17ad3d444580aef9d833
2017-05-09 12:38:07 -07:00
Brian Vaughn
909fb7239d
findNodeHandle properly handles ReactCurrentOwner.current Fiber type
...
Reviewed By: spicyj
Differential Revision: D5005265
fbshipit-source-id: 218ba3461514fa1dd603ad53c129dd37d7309050
2017-05-04 16:02:50 -07:00
Brian Vaughn
ef0bd5c71d
Sync React 16 from alpha 6 to 12
...
Reviewed By: spicyj
Differential Revision: D4926070
fbshipit-source-id: c23c79ccd53eb594447d9b47fe3ac6e82499bd42
2017-05-03 17:16:48 -07:00
Rich R
066bebbb7f
Minor doc fix
...
Summary:
Thanks for submitting a PR! Please read these instructions carefully:
- [ ] Explain the **motivation** for making this change.
- [ ] Provide a **test plan** demonstrating that the code is solid.
- [ ] Match the **code formatting** of the rest of the codebase.
- [ ] Target the `master` branch, NOT a "stable" branch.
What existing problem does the pull request solve? Minor omission in doc.
A good test plan has the exact commands you ran and their output, provides screenshots or videos if the pull request changes UI or updates the website. See [What is a Test Plan?][1] to learn more.
If you have added code that should be tested, add tests.
No code changes.
Sign the [CLA][2], if you haven't already.
Small pull requests are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.
Make sure all **tests pass** on both [Travis][3] and [Circle CI][4]. PRs that break tests are unlikely to be merged.
For more info, see the ["Pull Requests"][5] section of our "Contributing" guidelines.
[1]: https://medium.com/martinkonicek/what-is-a-test-plan-8bfc840ec171#.y9lcuqqi9
[2]: https://code.facebook.com/cla
[3]: https://travis-ci.org/facebook/react-native
[4]: http://circleci.com/gh/facebook/react-native
[5]: https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#pull-requests
Closes https://github.com/facebook/react-native/pull/13666
Differential Revision: D4953796
Pulled By: javache
fbshipit-source-id: 131c2326d6631fe193f6ccae124e1f09af3f5c73
2017-04-26 04:00:09 -07:00
Ben Alpert
8f2d73d50b
React Native Fiber: Fix errors in children management
...
Reviewed By: bvaughn
Differential Revision: D4905062
fbshipit-source-id: 43c24e7bcaf06eb4c7385b7022d0f20cf42d6f2f
2017-04-18 18:33:30 -07:00
Brian Vaughn
f3e56cbbb7
Ran React.PropTypes codemod on fbsource again in case anything was missed
...
Reviewed By: flarnie
Differential Revision: D4890226
fbshipit-source-id: 36b87bd4395c8cfbe260d2c73f919e62b11439a7
2017-04-14 15:46:04 -07:00
Brian Vaughn
6564edce5e
Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github
...
Reviewed By: acdlite
Differential Revision: D4876709
fbshipit-source-id: 3a5e92bfc74287b7a9054546c438580bed0147af
2017-04-12 16:15:15 -07:00
Brian Vaughn
c95a991061
Removed takeSnapshot util function from ReactNative renderer
...
Summary:
It was added to react-native-implementation in c7387fe
Relates to [this comment](848593c0f0 (commitcomment-21585552)
) and issue #13343
cc janicduplessis
Closes https://github.com/facebook/react-native/pull/13347
Reviewed By: bvaughn
Differential Revision: D4843898
Pulled By: ericvicenti
fbshipit-source-id: 2b83d7bd71b7a7e6961e4da551ddd4090af03824
2017-04-10 10:31:21 -07:00
Brian Vaughn
36c599b2e0
ReactNativeFiber renderer type-fix for leaf node children
...
Reviewed By: sebmarkbage
Differential Revision: D4830872
fbshipit-source-id: 6e1a476c921ffff8f720fd9b81da65cb1e724eef
2017-04-04 17:03:29 -07:00
Brian Vaughn
d4aa42a4ac
Show more meaningful error stack in ReactNative redbox
...
Reviewed By: yungsters
Differential Revision: D4797372
fbshipit-source-id: 069c013bcc3d58dd38a25979f4a04aed5fc1dde6
2017-03-30 17:19:41 -07:00
Brian Vaughn
01215c013d
Re-added null inst check to avoid EventPropagators bug
...
Reviewed By: fkgozali
Differential Revision: D4787522
fbshipit-source-id: 80eb4da5a6df46a8a7235358c70b2a04e43dc574
2017-03-28 11:01:54 -07:00
Brian Vaughn
6f9447e7b2
React sync (16 beta 6 plus addons)
...
Reviewed By: sebmarkbage
Differential Revision: D4775005
fbshipit-source-id: c50d099dc3d01c10e122c56f11bd990a2b1e81d1
2017-03-27 17:01:14 -07:00
Brian Vaughn
848593c0f0
Moved takeSnapshot method from UIManager to ReactNative
...
Reviewed By: spicyj
Differential Revision: D4767428
fbshipit-source-id: 77c80c0135641ab46f9dce2763f27499a96373a0
2017-03-25 00:46:54 -07:00
Brian Vaughn
333dd59533
ReactNativeFiber findNodeHandle() bugfix
...
Reviewed By: sahrens
Differential Revision: D4762397
fbshipit-source-id: d047f5c77067dbf8b0331695bb661e04ce00913c
2017-03-23 11:03:43 -07:00
Brian Vaughn
703936d9e3
Sync React master (and 16 alpha 4)
...
Reviewed By: sebmarkbage
Differential Revision: D4747529
fbshipit-source-id: 5efea6422a2502f27c1b23506cbae2187c7f7b0d
2017-03-22 21:30:50 -07:00
Spencer Ahrens
93c438d470
Fix nodeHandle crash
...
Summary:
It's supposed to take a component or a handle, per the arg name, so switch on the type (and handle `null`).
`FlatListExample` no longer crashes.
Reviewed By: bvaughn, sebmarkbage
Differential Revision: D4752619
fbshipit-source-id: 720421f648f7c2049b5cc44f006484eb47d22d86
2017-03-21 22:47:03 -07:00
Brian Vaughn
3954400565
Added MobileConfig for ReactNative use-fiber
...
Reviewed By: yungsters
Differential Revision: D4740267
fbshipit-source-id: d2cf76a22ce0f6337e1055b9f4b869c8bd82fa7d
2017-03-20 16:31:55 -07:00
Brian Vaughn
9344f3a95b
Support string return type from RN createReactNativeFiberComponentClass()
...
Reviewed By: sebmarkbage
Differential Revision: D4607283
fbshipit-source-id: 466d2373dd570f77ebcced306d2f20a3f72d79c6
2017-03-20 13:07:06 -07:00
Valentin Shergin
23c2a6cf1a
Removed harmful optimization in ReactNativeEventEmitter
...
Reviewed By: spicyj
Differential Revision: D4729779
fbshipit-source-id: 2dd5ec10d42df7f24804796c4100eca107edeedb
2017-03-19 21:46:48 -07:00
Brian Vaughn
6620b1ff7d
Added ReactNative feature-flag switch between Stack and Fiber builds
...
Reviewed By: sebmarkbage
Differential Revision: D4606164
fbshipit-source-id: 5f25dbc52298d359e11e52341ff3570c797a6ea9
2017-03-16 19:30:29 -07:00
Sebastian Markbage
17cb70efdd
Apply numeric text event bubbling fix for Android
...
Reviewed By: bvaughn
Differential Revision: D4726029
fbshipit-source-id: 94c8025bb59cc0970b6cc8ce7f3caf6e867bf72b
2017-03-16 18:16:02 -07:00
Daniel Woelfel
5f8e46b8b4
prevent undefined is not an Object exception
...
Reviewed By: sebmarkbage
Differential Revision: D4707119
fbshipit-source-id: 403d7c26a1910d0ed1b980f305aa2b6326f371a2
2017-03-14 13:16:11 -07:00
Sebastian Markbage
5eb3ab3522
Switch componentWillMount / componentWillUnmount order
...
Summary:
This switches our React feature flag so that componentWillMount happens before
componentWillUnmount when a child switches. It used to be inconsistent and this
makes it consistent and inline with what React Fiber does.
Breaking change. May cause issues.
Reviewed By: spicyj, bvaughn
Differential Revision: D4626543
fbshipit-source-id: f7eaf1ebd479ca9fada012f903a2f972a7901b40
2017-02-28 12:22:07 -08:00
Andrew Clark
41f1bcc5ac
Sync React Native with React 16.0.0-alpha.3 (take 2)
...
Reviewed By: spicyj
Differential Revision: D4623242
fbshipit-source-id: 7ddb057cb47e005dda73070f45d108af40d93c8f
2017-02-27 17:30:30 -08:00
Andrew Clark
0a712f5335
Revert D4615201: Sync React Native with React 16.0.0-alpha.3
...
Differential Revision: D4615201
fbshipit-source-id: e86961f37209c73838b5a4a564bc81eb48a911c2
2017-02-27 14:04:58 -08:00
Andrew Clark
24a7665df5
Sync React Native with React 16.0.0-alpha.3
...
Reviewed By: sebmarkbage
Differential Revision: D4615201
fbshipit-source-id: fc62b44aa866e096faa1cb048db361bb8c6ab11f
2017-02-27 14:04:58 -08:00