electric icon indicating copy to clipboard operation
electric copied to clipboard

electric v3 mandatory wrapper div at root

Open dustingetz opened this issue 1 year ago • 0 comments

Electric v3 today must own the construction of the root element for our dom position tracking algorithm to work properly. If not, e.g. we mount to document.body directly, any children elements maintained by electric-dom will have undefined order (commonly reversed).

workaround for now: don't forget a root wrapper div.

dustingetz avatar Nov 23 '24 17:11 dustingetz