one icon indicating copy to clipboard operation
one copied to clipboard

render modes don't work

Open Avizura opened this issue 5 months ago • 0 comments

Current Behavior

I have both web: { defaultRenderMode: 'spa' } in the vite.config and a page name dummy+spa.tsx. It still renders as SSR on dev mode and SSG on prod mode. Same for page+ssr.tsx -> SSG.

Expected Behavior

Should use the specified rendering mode

One Version

1.1.511

Platform (Web, iOS, Android)

Web

Reproduction

npx one -> check notifications+spa.tsx page rendering which invokes the loader on the server

System Info

System:
    OS: macOS 15.4
    CPU: (8) arm64 Apple M1 Pro
    Memory: 89.61 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.15.0 - ~/.nvm/versions/node/v22.15.0/bin/node
    Yarn: 4.9.2 - /opt/homebrew/bin/yarn
    npm: 10.9.2 - ~/.nvm/versions/node/v22.15.0/bin/npm
    bun: 1.2.15 - ~/.bun/bin/bun
    Watchman: 2025.05.26.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 139.0.7258.67
    Safari: 18.4
  npmPackages:
    @better-auth/expo: ^1.3.4 => 1.3.4
    @biomejs/biome: 1.9.4 => 1.9.4
    @dotenvx/dotenvx: ^1.12.1 => 1.48.3
    @faker-js/faker: next => 10.0.0-beta.0
    @react-native-community/cli: 19.0.0 => 19.0.0
    @tamagui/config: ^1.132.9 => 1.132.15
    @tamagui/image-next: ^1.132.9 => 1.132.15
    @tamagui/lucide-icons: ^1.132.9 => 1.132.15
    @tamagui/vite-plugin: ^1.132.9 => 1.132.15
    @types/react: ~19.0.10 => 19.0.14
    @vxrn/color-scheme: 1.1.510 => 1.1.510
    better-auth: ^1.3.4 => 1.3.4
    better-sqlite3: ^11.2.1 => 11.10.0
    dotenv: ^16.4.5 => 16.6.1
    drizzle-kit: ^0.24.2 => 0.24.2
    drizzle-orm: ^0.33.0 => 0.33.0
    expo: 53.0.20 => 53.0.20
    expo-constants: ^17.1.7 => 17.1.7
    expo-dev-client: ~5.2.4 => 5.2.4
    expo-linear-gradient: ~14.1.5 => 14.1.5
    expo-linking: ^7.1.7 => 7.1.7
    expo-modules-core: ~2.5.0 => 2.5.0
    expo-secure-store: ^14.2.3 => 14.2.3
    expo-web-browser: ^14.2.0 => 14.2.0
    one: 1.1.511 => 1.1.511
    postgres: ^3.4.4 => 3.4.7
    react: ~19.0.0 => 19.0.0
    react-native: ~0.79.2 => 0.79.5
    react-native-reanimated: ~3.17.4 => 3.17.5
    react-native-safe-area-context: 5.4.0 => 5.4.0
    react-native-screens: ~4.11.1 => 4.11.1
    react-native-svg: 15.11.2 => 15.11.2
    react-native-web: ~0.20.0 => 0.20.0
    tamagui: ^1.132.9 => 1.132.15
    tsx: ^4.19.0 => 4.20.3
    typescript: ^5.7.3 => 5.8.3
    vite: ^7.0.1 => 7.0.6

Avizura avatar Aug 09 '25 15:08 Avizura