/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCxxPlatform/react/runtime/ReactInstanceConfig.h
29 строк
626 B
Rubén Norte
Split ReactInstanceConfig.enableDebugging into enableInspector and enableDevMode (#53201)
12 авг 2025, 15:41
12 авг 2025, 15:41
42db2f8
Код
Авторство
О чём код?
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <react/debug/flags.h> #include <string> namespace facebook::react { struct ReactInstanceConfig { std::string appId; std::string deviceName; #ifdef REACT_NATIVE_DEBUG bool enableDevMode{true}; bool enableInspector{true}; #else bool enableDevMode{false}; bool enableInspector{false}; #endif std::string devServerHost{"localhost"}; uint32_t devServerPort{8081}; }; } // namespace facebook::react