Currently, the init with a selector method causes a global side effect on every selector, playing not particularly nice when Document class is extracted, and initialized, a part.
Consider providing a Document.prototype.useSelector(...) method to simplify, and confine, different selectors engine, per document.
The text was updated successfully, but these errors were encountered:
Currently, the
initwith aselectormethod causes a global side effect on every selector, playing not particularly nice whenDocumentclass is extracted, and initialized, a part.Consider providing a
Document.prototype.useSelector(...)method to simplify, and confine, different selectors engine, per document.The text was updated successfully, but these errors were encountered: