From b25cfbb665c5b04c4803a78dc66e0aac34279319 Mon Sep 17 00:00:00 2001 From: Michael Beckemeyer Date: Thu, 15 Aug 2024 13:05:11 +0200 Subject: [PATCH] Update comment --- src/packages/runtime/react-integration/hooks.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/packages/runtime/react-integration/hooks.ts b/src/packages/runtime/react-integration/hooks.ts index 1126fbc8..290dac9a 100644 --- a/src/packages/runtime/react-integration/hooks.ts +++ b/src/packages/runtime/react-integration/hooks.ts @@ -15,11 +15,13 @@ import { InterfaceNameForServiceType } from "../DeclaredService"; IMPORTANT ========= - The functions in this file are part of the public API. - They are imported by code generated during separate package generation via: + The functions in this file are part of the public API, although they should not be called directly. + They are imported by code generated during separate package compilation generation via: import { hookName } from '@open-pioneer/runtime/react-integration' + They are also imported by the vite plugin during development and when building an application. + The matching exports are in the neighboring `index.ts`. The interfaces of these hooks must remain stable so that already published packages can continue to work in the future.