You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -156,4 +156,4 @@ Tailwind verbosity goes up with more child elements.
156
156
```
157
157
## 🔎 Technical FAQ
158
158
* Why do you use `querySelectorAll()` and not just process the `MutationObserver` results directly?
159
-
* This was indeed the original implementation; it will work well up until you begin recieving subtrees (ex: DOM swaps with [htmx](https://htmx.org), ajax, jquery, etc.) which requires walking all subtree elements to ensure we do not miss a `<style>`. This unfortunately involves re-scanning thousands of repeated elements. Because of this,`querySelectorAll()` ends up the performance (and simplicty) winner.
159
+
* This was indeed the original design; it will work well up until you begin recieving subtrees (ex: DOM swaps with [htmx](https://htmx.org), ajax, jquery, etc.) which requires walking all subtree elements to ensure we do not miss a `<style>`. This unfortunately involves re-scanning thousands of repeated elements. This is why`querySelectorAll()` ends up the performance (and simplicty) winner.
0 commit comments