Depends on how you use it and on how much elements. I am not sure if this is even worth to be a library. Sometimes I am wondering why people want to use a lib for everything.
And I don't want to spend my time learning to write it correctly to handle all case and be performant.