Hacker News new | ask | show | jobs
by johannes1234321 2746 days ago
A reason why I don't like this approach is that I have to know where an element goes when creating it.

I prefer creating an element and then moving it into place, so a module of my application can create some structure in isolation.

1 comments

I agree. And your way I can add the same subtree to multiple parent nodes.