/**
 * Copyright IBM Corp. 2020, 2026
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

const require_runtime = require('../../../_virtual/_rolldown/runtime.js');
let react = require("react");

//#region src/global/js/hooks/useIsomorphicEffect.ts
/**
* Copyright IBM Corp. 2024, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
const useIsomorphicEffect = typeof window !== "undefined" ? react.useLayoutEffect : react.useEffect;

//#endregion
exports.useIsomorphicEffect = useIsomorphicEffect;