Skip to content

Commit ba51e11

Browse files
authored
Update README.md
1 parent 7373846 commit ba51e11

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ Tailwind verbosity goes up with more child elements.
154154
</body>
155155
</html>
156156
```
157-
158157
## 🔎 Technical FAQ
159158
* Why do you use `querySelectorAll()` and not just process the `MutationObserver` results directly?
160159
* Processing `MutationObserver` results will work well until you begin recieving subtrees (ex: DOM swap, [htmx](https://htmx.org), ajax, jquery) which requires you to walk all subtree child elements to not miss a `<style>`. This can involve re-scanning thousands of repeated elements, and `querySelectorAll()` ends up the simplicty and performance winner.

0 commit comments

Comments
 (0)