-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RN: Simplify
DevSettings
Implementation
Summary: Simplifies the implementation of `DevSettings`. The fact that it uses `NativeEventEmitter` is an implementation detail and does not need to be exposed via inheritance. This also enables more code to be removed from production builds (because the development implementation is now statically enclosed by `__DEV__`). Changelog: [General][Changed] - `DevSettings` no longer inherits from `NativeEventEmitter` Reviewed By: RSNara Differential Revision: D26140148 fbshipit-source-id: 99fa9d0c6ce8e365f89936aa12a4720f7a04b984
- Loading branch information
1 parent
f5f4787
commit 70cd569
Showing
1 changed file
with
45 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters