Famous/engine

[bug?] Moving a Node to another parent Node causes DOMElement refresh (visible blink).

Open

#472 ouverte le 17 août 2015

Voir sur GitHub
 (5 commentaires) (0 réactions) (0 assignés)JavaScript (262 forks)batch import
help wanted

Métriques du dépôt

Stars
 (1 750 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

When we move a child Node to another parent Node, the child Node's DOMElement's HTMLElement will be destroyed and a new one will be generated.

This forces us to reappend elements of other frameworks (f.e. a React component container) to the new HTMLElement of the DOMElement once it's ready.

The process of re-attaching a React component's HTMLElement container causes a visual blink as in this video: <placeholder for video>

The blink is janky. It'd be nice if a DOMElement's HTMLElement was re-used.

cc @alexanderGugel @michaelobriena

Guide contributeur