()
| 926 | return useMemo( |
| 927 | () => ({ |
| 928 | start() { |
| 929 | // Android sometimes fires two compositionstart events in a row, without a compositionend. |
| 930 | // In that case, reuse the existing tracker. |
| 931 | mutationTracker.current ||= trackMutations(ref.current!); |
| 932 | }, |
| 933 | stop() { |
| 934 | mutationTracker.current?.(); |
| 935 | mutationTracker.current = null; |
nothing calls this directly
no test coverage detected