signal-desktop/ts/util/lint
Fedor Indutny 8c9e556a22 Don't use useMemo() for AudioContext/Audio/Cache
`useMemo()` doesn't guarantee that the value won't be recomputed during
re-renders. Unfortunately, every time `AudioContext` is instantiated -
there is an audible click. This click happens during the change between
conversations and is very annoying.

Move both `AudioContext` instance to the
GlobalAudioContext's top-level declarations, and `Audio`/`WaveformCache`
to `useRef()`s.
2021-03-19 16:57:35 -04:00
..
analyze_exceptions.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
exceptions.json Don't use useMemo() for AudioContext/Audio/Cache 2021-03-19 16:57:35 -04:00
license_comments.ts Update license tests in preparation for new year 2020-12-17 12:12:52 -05:00
linter.ts Support for translating Desktop sessions to libsignal-client sessions 2021-03-19 16:57:35 -04:00
rules.json Add useRef() React Hook to lint rules 2020-11-04 13:00:40 -06:00
sort_exceptions.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
types.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
util.ts Add license headers across the project 2020-11-04 13:03:13 -06:00