Superfluous text node in `root` when using react

Aperta
#415 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@lemonmade ci sta già lavorando.

Dal 16/8/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

It appears that when using react, the root always contains a text node, even though you didn't render one

image

to reproduce:

checkout the rd/text-node branch and run pnpm run example:kitchen-sink, open the browser and select react.

You'll see that in addition to the ui-stack, root.children also has an empty text node.

Lingua principale
TypeScript
Stelle
1.3k
Fork
96
Merge medio
21h 49m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Shopify/remote-dom

Tutte le issue di Shopify/remote-dom

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.