Skip to content

Commit 8a06586

Browse files
authored
Update README.md
1 parent f212200 commit 8a06586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,4 @@ Tailwind verbosity goes up with more child elements.
156156
```
157157
## 🔎 Technical FAQ
158158
* 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

Comments
 (0)