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
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
de8ce45258
Ran codemod to replace View.propTypes with ViewPropTypes
...
Reviewed By: yungsters
Differential Revision: D4764838
fbshipit-source-id: 0b47a0fdd6793dab9333bb73bb93053fccc27dae
2017-03-24 00:30:48 -07:00
Jeff Morrison
59257d6976
fbobjc
...
Reviewed By: gabelevi
Differential Revision: D4652687
fbshipit-source-id: 6069c8bc24f0b88da3537ada877cdb7d1d4eccfd
2017-03-04 19:30:34 -08:00
Ben Alpert
a2fb703bbb
Convert from React.createClass to ES6 classes
...
Reviewed By: cpojer
Differential Revision: D3619143
fbshipit-source-id: e14e81468d467437ee3d79c34c34b7780a46ca1c
2016-07-26 01:13:31 -07:00
Nick Lockwood
9d0242fdc3
Replace direct access of NativeModules.UIManager with require('UIManager')
...
Summary:
public
Due to the cross-platform polyfills we have added (and will add in future) to `UIManager.js`, accessing UIManager directly via NativeModules instead of importing the wrapper is discouraged.
This diff fixes a few places where we were doing this inside our own modules.
Note: As a general policy, we should avoid accessing modules via NativeModules anyway. Using wrapper classes allows us to provide static declarations for all the native methods and properties, which can be checked at build time by flow. If we access the modules directly, those interfaces are only known at runtime.
Reviewed By: vjeux
Differential Revision: D2881300
fb-gh-sync-id: 6737358ea8ea6d722cc1941a4b9fa0123a87fc29
2016-01-30 07:36:34 -08:00
Huang Yu
0a3694ce48
fix several lint warnings
...
Summary: fix some ling warnings from several files
Closes https://github.com/facebook/react-native/pull/4450
Reviewed By: svcscm
Differential Revision: D2707606
Pulled By: mkonicek
fb-gh-sync-id: 410ccacf061ac7b0f6e44d1a5e4621a9d1d606fc
2015-12-01 07:26:29 -08:00
Krzysztof Magiera
dd09c88571
Compose propTypes from View.propTypes where appropriate.
...
Reviewed By: davidaurelio
Differential Revision: D2668380
fb-gh-sync-id: f34fc8df3bbf755c710e99c5421762406afaba2c
2015-11-18 13:06:27 -08:00
Pieter De Baets
59e670e453
Fix a warning about SnapshotView
...
Reviewed By: majak
Differential Revision: D2553669
fb-gh-sync-id: 2a2b47f9cf7a75403e4e2541b32a4b141b3d08be
2015-10-19 06:10:22 -07:00
Dave Miller
19e11232fe
Move SnapshotView to SnapshotViewIOS and create an unimplemented android version
...
Reviewed By: @andreicoman11
Differential Revision: D2536373
fb-gh-sync-id: 0f671e8198175a15540b74d54e53eee941aa0c1b
2015-10-13 11:48:38 -07:00