145 Commits

Author SHA1 Message Date
Alexander Zinchuk
0b40721ede TeactN: Fix activation function call on mount 2025-06-04 20:40:19 +02:00
Alexander Zinchuk
f38f7d65cc Bump dependencies 2025-06-04 20:36:48 +02:00
zubiden
f21ca52337 Teact: Fix empty fragment mount position (#5918) 2025-05-14 19:02:17 +03:00
Alexander Zinchuk
cbd0d47aa5 Teact: Some improvements 2025-03-07 15:18:58 +01:00
Alexander Zinchuk
90e56dcdd4 Teact: Fix re-mounting components 2025-03-07 15:18:54 +01:00
zubiden
37617b4b8e Fix several potential memory leaks (#5586) 2025-02-13 14:28:05 +01:00
zubiden
8dc935d0b8 SVG: Allow setting filters using JSX (#5449) 2025-01-21 18:29:39 +01:00
zubiden
6563d37e8a Global: Split types into separate files (#5341) 2024-12-29 11:58:32 +01:00
zubiden
ecbc32d0fd Teact: Check for mountState in cleanup (#5214) 2024-11-27 20:33:31 +04:00
zubiden
4fed4eff8f [dev] Fix outdated global check (#5051) 2024-10-20 18:53:23 +02:00
Alexander Zinchuk
8e5236d102 [Perf] Teact: Postpone rendering and effects during blocking animation (#4928) 2024-09-24 14:48:40 +02:00
Alexander Zinchuk
22019bc86c [Perf] TeactN: Leverage getIsHeavyAnimating.once instead of recursed requestMeasure 2024-09-19 20:43:46 +02:00
Alexander Zinchuk
7634094883 [Perf] Use throttleWithFullyIdle for user status updates 2024-09-19 20:43:42 +02:00
Alexander Zinchuk
af9d8695f4 [Perf] useVideoCleanup: Remove event listeners 2024-09-19 20:43:40 +02:00
Alexander Zinchuk
f503841d36 [Perf] Teact: Avoid scheduling redundant effect cleanups, refactoring 2024-09-19 20:43:36 +02:00
Alexander Zinchuk
2f0eaf72df [Perf] Teact: Introduce useUnmountCleanup to reduce redundant effects 2024-09-19 20:43:33 +02:00
Alexander Zinchuk
590a6f5b4c [Perf] Teact: Simplify extra classes management 2024-09-19 20:43:25 +02:00
Alexander Zinchuk
8b76de86ba [Refactoring] Move beginHeavyAnimation and onFullyIdle to Teact 2024-09-19 20:43:18 +02:00
Alexander Zinchuk
3e48f3fbf9 useShowTransitions: Workaround for noMountTransition not working after forced reflow 2024-09-11 02:07:15 +02:00
Alexander Zinchuk
8aa7eb2fcb [Dev] Teact: Better error logging 2024-09-06 15:43:19 +02:00
Alexander Zinchuk
2b773d7e85 [Perf] Teact: Tiny improvement 2024-09-06 15:42:56 +02:00
zubiden
5f5536b6a0 Search: New design (#4718) 2024-08-29 15:52:14 +02:00
zubiden
547db95ee4 Fix theme change error on init (#4861) 2024-08-06 20:06:54 +02:00
zubiden
a4bfdad768 Teact: Implement createContext and useContextSignal (#4619) 2024-06-18 16:30:28 +02:00
Alexander Zinchuk
0e77008108 Folder Manager: Init before chat load (#4431) 2024-03-29 20:51:22 +01:00
Alexander Zinchuk
f894010a70 TeactN: Introduce stickToFirst 2023-11-06 01:43:38 +04:00
Alexander Zinchuk
e815c677f3 TeactN: Support forceOnHeavyAnimationOnce and forceOutdated 2023-10-27 12:52:06 +02:00
Alexander Zinchuk
8c0c871023 Get rid of immediate callbacks in multitab 2023-10-27 12:52:06 +02:00
Alexander Zinchuk
fb614840f6 Refactoring: Introduce eslint-plugin-simple-import-sort plugin (#3802) 2023-09-13 12:22:11 +02:00
Alexander Zinchuk
1fc598a7e3 TeactN: Replace detachWhenChanged with activationFn 2023-09-04 04:10:04 +02:00
Alexander Zinchuk
46d9278900 Teact: Support SVG (#3593) 2023-07-20 16:12:59 +02:00
Alexander Zinchuk
7daee68c0e Teact: Fix textContent optimization 2023-07-20 16:01:03 +02:00
Alexander Zinchuk
a2eb398feb Teact: Remove unsafe optimization 2023-07-20 16:01:03 +02:00
Alexander Zinchuk
e544763ab9 Teact: Remove likely redundant code 2023-07-20 16:01:03 +02:00
Alexander Zinchuk
b6982dcd46 Revert "Revert "[Perf] Teact: Optimizations""
This reverts commit 8c892278660e633a5675b4e7d6c22aadd55578c4.
2023-07-20 16:01:03 +02:00
Alexander Zinchuk
255fb11d94 Revert "Revert "[Perf] Teact: Performance optimizations""
This reverts commit 1ef9a367504f35f8c86f0865cb25305756a93e3c.
2023-07-20 16:01:03 +02:00
Alexander Zinchuk
4cf1a466cd Revert "[Perf] Teact: Performance optimizations"
This reverts commit fccdb019535c1eb23f6857ee97607cf39fbc48e8.
2023-07-06 14:25:58 +02:00
Alexander Zinchuk
28ac8fe061 Revert "[Perf] Teact: Optimizations"
This reverts commit 691c6204c1908af0d3317cb18dc67efb566beefe.
2023-07-06 14:25:58 +02:00
Alexander Zinchuk
696e8ad256 [Perf] Teact: Optimizations 2023-07-06 09:57:57 +02:00
Alexander Zinchuk
392b2d53cb Teact: Introduce setExtraStyles 2023-07-06 09:57:57 +02:00
Alexander Zinchuk
b0e10bf2fb [Perf] Teact: Performance optimizations 2023-07-06 09:57:57 +02:00
Alexander Zinchuk
1b7a2600a2 Teact: do not record hit rate by default, getUnequalPropslogUnequalProps 2023-07-06 09:57:57 +02:00
Alexander Zinchuk
0f04434b65 Minor optimizations 2023-07-06 09:57:57 +02:00
Alexander Zinchuk
6a2f06ea9c Teact: Better debug 2023-07-06 09:57:57 +02:00
Alexander Zinchuk
e056ed231b [Perf] Remove some redundant memo containers 2023-07-06 09:57:44 +02:00
Alexander Zinchuk
1c82160285 Teact: Debug useMemo hit rate 2023-07-06 09:57:43 +02:00
Alexander Zinchuk
8cdc1b87be Teact: Disable setting state on unmounted components 2023-07-06 09:57:43 +02:00
Alexander Zinchuk
23eef3034d [Memory] Fixes and optimizations (#3453) 2023-07-06 09:57:43 +02:00
Alexander Zinchuk
3af8f91f3c Teact: Remove redundant check 2023-06-16 12:45:20 +02:00
Alexander Zinchuk
d8a258d092 Teact: Properly clean up function refs 2023-06-16 12:45:20 +02:00