Investigate MorphDOM vs ReactDOM

Aperta
#883 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript, python, react
Ambito
frontend

Direzione di ricerca

Start by reviewing the reactpy.html.script behavior and the original discussion in https://github.com/idom-team/idom/discussions/798. Compare how ReactDOM currently handles client-side DOM changes with the proposed MorphDOM alternative. Done means documenting a clear decision on whether to adopt MorphDOM or address the ReactDOM mismatch another way.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

priority-3-low type-investigation

Currently, due to the addition of our reactpy.html.script tag, there is now the potential of user's manually manipulating the client side DOM, which will cause a mismatch when comparing to the server side VDOM. This can cause client side exceptions within ReactDOM when the attempting to change/modify/add/delete nodes or attributes that no longer exist. We may want to consider switching to MorphDOM to account for this, since it could automatically mutate the client DOM to meet the server side VDOM model.

This issue exists to debate whether MorphDOM should be considered as an alternative, or whether we should simply work around these issues with React-DOM.

Note: Originally discussed in https://github.com/idom-team/idom/discussions/798 by Archmonger August 10, 2022

Lingua principale
Python
Stelle
8.1k
Fork
332
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 reactive-python/reactpy

Tutte le issue di reactive-python/reactpy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.