mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-13 09:20:50 +08:00
Summary: * Added a default value for HMRLoadingView this will prevent errors from being thrown when `HMRClient` attempts to include it in a `web` context. * [Web] [Added] - HMRLoadingView Pull Request resolved: https://github.com/facebook/react-native/pull/23389 Differential Revision: D14045475 Pulled By: cpojer fbshipit-source-id: df5c3cf3536af3b37eaf82342b6346bc25054319
24 lines
391 B
JavaScript
24 lines
391 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
* @flow strict-local
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
class HMRLoadingView {
|
|
static showMessage(message: string) {
|
|
// noop
|
|
}
|
|
|
|
static hide() {
|
|
// noop
|
|
}
|
|
}
|
|
|
|
module.exports = HMRLoadingView;
|