130 Commits

Author SHA1 Message Date
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
Alexander Zinchuk
bab53d42ec Teact: Fix updating ref when re-using DOM nodes 2023-06-16 12:45:20 +02:00
Alexander Zinchuk
62271f6ced Teact: Fix effects in portals 2023-05-28 14:32:40 +02:00
Alexander Zinchuk
533e82eb3c Teact: Fix moving element to the end of fast list (follow-up) 2023-05-28 14:32:21 +02:00
Alexander Zinchuk
cd078bcd33 Teact: Fix re-ordering children without teactOrderKey 2023-05-15 10:56:14 +02:00
Alexander Zinchuk
da4e5e543b Teact: Fix moving element to the end of fast list 2023-05-15 10:56:01 +02:00
Alexander Zinchuk
af06317a0f Teact: Fix multiple use of callback setter 2023-05-15 10:55:50 +02:00
Alexander Zinchuk
2ca0079f9e Transition: Fix unmounting active slide 2023-04-26 21:18:43 +04:00
Alexander Zinchuk
dba6963c34 [Perf] Introduce Fasterdom and some performance fixes 2023-04-25 17:27:10 +04:00
Alexander Zinchuk
9a75d79705 Teact: Fix missing layout effects after first render (follow-up) 2023-04-19 04:08:52 +02:00
Alexander Zinchuk
ad9e1bb9a1 Teact: Fix missing layout effects after first render 2023-04-15 13:55:11 +02:00
Alexander Zinchuk
e2ef98db09 Teact: Fix running layout effect on signal 2023-04-15 13:55:11 +02:00
Alexander Zinchuk
d872273def [Perf] Middle Column: Various optimizations for opening chat 2023-04-15 13:55:07 +02:00
Alexander Zinchuk
c467da8680 Transition: Tiny updates 2023-04-15 13:54:30 +02:00
Alexander Zinchuk
289694c13b Teact: Introduce extra classes manipulation 2023-04-15 13:52:25 +02:00
Alexander Zinchuk
2bdc5774ab [Refactoring] Teact: Stricter typings for useState 2023-03-30 18:28:51 -05:00