mirror of
https://github.com/status-im/react-native.git
synced 2025-02-13 18:06:37 +00:00
Summary: - Avoid using `+initialize`, use dispatch_once instead; it should be equivalent but more performant. - Don't even let the `isPackagerRunning:` and `guessPackagerHost` methods exist unless `RCT_DEV` is on; they didn't do anything interesting when it is off. Reviewed By: javache Differential Revision: D3556645 fbshipit-source-id: 7dcdb4ae27f6625010e15846d757269f6f04155c