Hacker News new | past | comments | ask | show | jobs | submit login

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.




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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: