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