lite-html icon indicating copy to clipboard operation
lite-html copied to clipboard

Refactor NodePart constructor

Open ruphin opened this issue 7 years ago • 0 comments

With each TemplateInstance now tracking a parent and before- and after- siblings, there's some duplication going on between the TemplateInstance constructor and the NodePart constructor. The logic for determining the correct parent and context should be handled in one of these instead of both.

ruphin avatar Aug 10 '18 04:08 ruphin