message: Fix removing of vkui class in react 18
diff: @@ -75,14 +75,7 @@ export const AppRoot = withAdaptivity<AppRootProps>(
  const insets = useInsets();
  const { appearance } = React.useContext(ConfigProviderContext);
  - const initialized = React.useRef(false);
  - if (!initialized.current) {
  - if (document && mode === "full") {
  - document.documentElement.classList.add("vkui");
  - }
  classScopingMode.noConflict = noLegacyClasses;
  - initialized.current = true;
  - }
  if (process.env.NODE_ENV === "development") {
  if (scroll !== "global" && mode !== "embedded") {
  @@ -131,12 +124,21 @@ export const AppRoot = withAdaptivity<AppRootProps>(
  return () => {
  parent?.classList.remove(...classes);
  - if (mode === "full") {
  - document?.documentElement.classList.remove("vkui");
  - }
  };
  }, []);
  + useIsomorphicLayoutEffect(() => {
  + if (mode === "full") {
  + document!.documentElement.classList.add("vkui");
  +
  + return () => {
  + document!.documentElement.classList.remove("vkui");
  + };
  + }
  +
  + return undefined;
  + }, [document, mode]);
  +
  // setup insets
  useIsomorphicLayoutEffect(() => {
  if (mode === "partial" || !rootRef.current?.parentElement) {
  