element-web/__mocks__
Michael Telatynski ef1597ff2d
Enable react-compiler eslint to spot antipatterns (#28652)
* Switch to React18 useId

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Enable react-compiler eslint

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix an easy one

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Disable in tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix usage of useRef as memoization

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix mutation of external values in hooks

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Make React compiler happy about some frankly non-issues

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix MapMock

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Revert MemberListViewModel.tsx changes and disable linter per line

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Make viewmodel compatible with react-compiler linter

- Remove searchQuery ref/state and instead pass this query to the
  loadMember function.
- Now we no longer need a separate search function

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2025-01-16 12:26:00 +00:00
..
cssMock.js mock out scss imports for jest 2020-04-22 18:58:44 +01:00
empty.js Make the tests happier 2021-05-06 22:08:00 -06:00
imageMock.js Down to 7 test failures 2019-12-17 11:24:37 +00:00
languages.json Use Intl for names of languages (#11427) 2023-08-22 14:07:16 +00:00
maplibre-gl.js Enable react-compiler eslint to spot antipatterns (#28652) 2025-01-16 12:26:00 +00:00
svg.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
workerFactoryMock.js Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00