* Removes inlined event dispatch script if it exists. * See the `EVENT_DISPATCH_SCRIPT_ID` const docs for additional info.
(doc: Document)
| 86 | * See the `EVENT_DISPATCH_SCRIPT_ID` const docs for additional info. |
| 87 | */ |
| 88 | function removeEventDispatchScript(doc: Document) { |
| 89 | findEventDispatchScript(doc)?.remove(); |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Annotate nodes for hydration and remove event dispatch script when not needed. |
no test coverage detected
searching dependent graphs…