()
| 782 | return useMemo( |
| 783 | () => ({ |
| 784 | start() { |
| 785 | // Android sometimes fires two compositionstart events in a row, without a compositionend. |
| 786 | // In that case, reuse the existing tracker. |
| 787 | mutationTracker.current ||= trackMutations(ref.current!); |
| 788 | }, |
| 789 | stop() { |
| 790 | mutationTracker.current?.(); |
| 791 | mutationTracker.current = null; |
nothing calls this directly
no test coverage detected