diff --git a/apps/web/package.json b/apps/web/package.json index 9b8db79..ad4fbc6 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -25,7 +25,7 @@ "react-native-reanimated": "4.7.1", "react-native-safe-area-context": "~5.10.1", "react-native-svg": "15.16.0", - "react-native-web": "~0.21.4", + "react-native-web": "npm:@rootnative/web-expo@0.0.0-alpha.6", "react-native-worklets": "0.13.0" }, "devDependencies": { diff --git a/apps/web/src/components/TitleBar.tsx b/apps/web/src/components/TitleBar.tsx index 6a7464c..2110449 100644 --- a/apps/web/src/components/TitleBar.tsx +++ b/apps/web/src/components/TitleBar.tsx @@ -6,7 +6,7 @@ import { StyleSheet, View, type ViewStyle } from 'react-native' import { TITLE_BAR_HEIGHT, type Host } from '../logic/host' import { Mark } from './Mark' -// react-native-web writes these keys into the CSS class of the style, but +// The web runtime writes these keys into the CSS class of the style, but // the React Native types do not have them. Electron reads app-region for the // drag region of the window. The titlebar-area variables of the Window // Controls Overlay give the space of the window buttons. A browser, and diff --git a/apps/web/src/theme.ts b/apps/web/src/theme.ts index 92adb8f..891fef9 100644 --- a/apps/web/src/theme.ts +++ b/apps/web/src/theme.ts @@ -76,7 +76,7 @@ export const MONO_FONT = /** * For an ID or a path with no space to break at, such as a simulator UDID or - * the store path: it wraps at any character. react-native-web passes + * the store path: it wraps at any character. The web runtime passes * `wordBreak` to the browser, but the React Native type does not have it. */ export const MONO_WRAP = { diff --git a/packages/devhub/src/server/server.ts b/packages/devhub/src/server/server.ts index 761fca5..e95b84a 100644 --- a/packages/devhub/src/server/server.ts +++ b/packages/devhub/src/server/server.ts @@ -35,7 +35,7 @@ export type UiServer = { const MAX_BODY_BYTES = 64 * 1024 // The server sends no CORS headers, so a page of another origin cannot read -// a response. react-native-web writes its styles into