77 Commits

Author SHA1 Message Date
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
ecbc32d0fd Teact: Check for mountState in cleanup (#5214) 2024-11-27 20:33:31 +04:00
Alexander Zinchuk
8e5236d102 [Perf] Teact: Postpone rendering and effects during blocking animation (#4928) 2024-09-24 14:48: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
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
zubiden
a4bfdad768 Teact: Implement createContext and useContextSignal (#4619) 2024-06-18 16:30:28 +02:00
Alexander Zinchuk
46d9278900 Teact: Support SVG (#3593) 2023-07-20 16:12:59 +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
62271f6ced Teact: Fix effects in portals 2023-05-28 14:32:40 +02:00
Alexander Zinchuk
af06317a0f Teact: Fix multiple use of callback setter 2023-05-15 10:55:50 +02: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
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
Alexander Zinchuk
568b23b6fe [dev] Define custom static dependencies (#2462) 2023-02-28 18:43:28 +01:00
Alexander Zinchuk
077dce9fc0 Teact: Avoid multiple effects in a single frame (follow-up) 2023-02-17 02:32:56 +01:00
Alexander Zinchuk
6b235729f4 Teact: Always run effects before component renders 2023-02-17 02:32:51 +01:00
Alexander Zinchuk
3f7392699a Stickers: Add 'Copy Link' option (#2502) 2023-02-08 00:48:45 +01:00
Alexander Zinchuk
eed6241f42 Composer: Introduce Signals (#2378) 2023-02-08 00:43:48 +01:00
Alexander Zinchuk
d40a2a6240 Teact: Avoid multiple effects in a single frame 2023-02-08 00:43:48 +01:00
Alexander Zinchuk
31e52956c2 Teact: Avoid multiple renders in a single frame 2023-02-08 00:43:48 +01:00
Alexander Zinchuk
156b0b09da [Dev] Teact: Debug component name on error in effect (#2463) 2023-02-03 03:23:47 +01:00
Alexander Zinchuk
2a7c78c12a Multiple Tabs: Introduce Multiple Tabs Support (#2221) 2023-01-28 02:21:33 +01:00
Alexander Zinchuk
56dbad1ef9 [Dev] Teact: Add debug overlay 2023-01-22 18:13:26 +01:00
Alexander Zinchuk
c6bd762a4c [Perf] Teact: Avoid redundant renders when updating state with a callback 2023-01-22 18:13:25 +01:00
Alexander Zinchuk
d896bb507d Teact: Fix empty fragement jumping in DOM 2022-09-24 01:40:27 +02:00
Alexander Zinchuk
19ac35b676 Teact: Fix fragment breaking other elements order 2022-09-16 18:28:44 +02:00