SSR manifest: `vite build --app --watch` embeds the previous round's client index.html
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 46/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, rust
- Área
- build-system, devtools
Línea de trabajo
Read the watch-mode build flow around buildStart, generateBundle, transform, and renderChunk, then trace how the server environment reads the client index.html. Reproduce with vite build --app --watch and inspect the SSR output across consecutive rounds. Done means each round embeds the matching client page and a client-only change also updates the server output.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Follow-up to #696 (fixed in #697 for normal builds). Found while reviewing #697.
In vite build --app --watch the server environment reads the client index.html in its own buildStart. The client of the same round only writes the new page later, in generateBundle. So every round embeds the page from the round before:
round 1 embeds /src/main.ts (source page) disk: index-CDAm_wYV.js
round 2 embeds index-CDAm_wYV.js disk: index-DK41E1g1.js
round 3 embeds index-DK41E1g1.js disk: index-CheYs2QK.js
→ the SSR page loads a script that is 404 and never hydrates
#697 prints a warning each round, so this is not silent, but the output is still wrong. In watch mode the two environments run at the same time, so listing client first doesn't help.
Possible fix: each client round resolves a promise in its generateBundle. The server embeds a placeholder at transform time and fills it in renderChunk / generateBundle after awaiting that promise. A client-only change also needs to rebuild (or patch) the server output.
- Lenguaje dominante
- Rust
- Estrellas
- 245
- Forks
- 26
- Merge medio
- 1 d 23 min
- PR fusionados (30 d)
- 83
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de voidzero-dev/oxc-angular-compiler
-
partial: host binding map keys are not always quoted like ngtsc (`click:` vs `"click":`)Posiblemente ocupada @Brooooooklyn la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
voidzero-dev/oxc-angular-compiler#686 ·
Los mantenedores suelen responder en 1 día
-
output: non-ASCII text not escaped like ngtsc; linker adds `changeDetection: 1` for v19 / v20.1Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
voidzero-dev/oxc-angular-compiler#707 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
voidzero-dev/oxc-angular-compiler#706 ·
Los mantenedores suelen responder en 1 día
-
host bindings: empty `[]` / `()` keys accepted, and `aria-*` host bindings stay DOM propertiesAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 56/100
voidzero-dev/oxc-angular-compiler#704 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
voidzero-dev/oxc-angular-compiler#703 ·
Los mantenedores suelen responder en 1 día
Todos los issues de voidzero-dev/oxc-angular-compiler
Issues similares
-
Panic on live viewport resize when unstyled elements exist in display: none subtreePosiblemente ocupada @GoCoder7 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
DioxusLabs/blitz#1488 ·
Los mantenedores suelen responder en 1 día
-
🏷️ good first issue enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
S-Needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
vectordotdev/vrl#2042 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día