48 Commits

Author SHA1 Message Date
Alexander Zinchuk
c92a18895e [Refactoring] Teact: Introduce TeactNode type for JSX typing 2022-05-20 17:56:04 +02:00
Alexander Zinchuk
188251f0fb [Perf] Teact: Properly GC refs on unmount 2022-05-16 13:33:55 +02:00
Alexander Zinchuk
f91960b90c Teact: Fix memory leak due to missing effect cleanups 2022-05-06 17:56:04 +01:00
Alexander Zinchuk
4d448e4d07 [Refactoring] Main: Simplify column animation 2022-04-19 15:12:04 +02:00
Alexander Zinchuk
d44d465520 [Dev] TeactN: Fix typing 2022-04-19 15:11:54 +02:00
Alexander Zinchuk
986d4d867d TeactN: Fixes for sync global sets and gets 2022-04-19 15:11:41 +02:00
Alexander Zinchuk
7d09556e4c [Dev] TeactN: Assert when setting global asynchronously (follow-up) 2022-04-09 02:53:44 +02:00
Alexander Zinchuk
a7e2695f2e [Dev] TeactN: Assert when setting global asynchronously 2022-04-09 01:18:22 +02:00
Alexander Zinchuk
fbe03b556b TeactN: Prevent race condition in async action handlers 2022-04-09 01:18:22 +02:00
Alexander Zinchuk
b352924f6f Teact: load event can not be delegated 2022-04-01 20:43:30 +02:00
Alexander Zinchuk
4f3c7a1a69 [Refactoring] TeactN: Support async action handlers 2022-03-19 21:19:14 +01:00
Alexander Zinchuk
b025fccf0f [Refactoring] TeactN: addReducer => addActionHandler, getDispatch => getActions 2022-03-19 21:19:08 +01:00
Alexander Zinchuk
10749c62ca [Dev] TeactN: Support project-wise and action payload typing 2022-03-19 21:19:05 +01:00
Alexander Zinchuk
eb0e304ff8 [Debug] Teact: Assert when cached virtual element was moved within tree 2022-03-05 18:06:23 +01:00
Alexander Zinchuk
e81475c21a [Debug] Teact: Assert when virtual element keys are not unique 2022-03-05 18:06:18 +01:00
Alexander Zinchuk
f61db93008 [Refactoring] Teact: Simplify memo 2022-02-25 22:52:26 +02:00
Alexander Zinchuk
70774928fc [Refactoring] Fix some TS typings, update some dependencies (#1702) 2022-02-11 15:13:05 +01:00
Alexander Zinchuk
5f6040b82c [Dev] Teact: Fix useState typing 2022-02-02 22:52:36 +01:00
Alexander Zinchuk
1aaf5132c3 Teact: Fix jumping cursor when typing in Safari 2022-02-02 22:52:36 +01:00
Alexander Zinchuk
1f1c30fd0f [Perf] Teact: Some minor optimizations 2022-02-02 22:52:35 +01:00
Alexander Zinchuk
51b2893b39 [Dev] Bump dependencies (#1677) 2022-02-02 22:52:33 +01:00
Alexander Zinchuk
07ac02b201 [Perf] Reduce unneeded renders in various components 2022-01-24 04:41:43 +01:00
Alexander Zinchuk
29852d2bf6 [Perf] Teact: Fix memory leaks 2022-01-21 17:29:48 +01:00
Alexander Zinchuk
f156be13ce [Refactoring] Teact: Refactor dom-events and better debug 2022-01-05 17:45:58 +01:00
Alexander Zinchuk
d9733e6466 [Debug] Teact: Better logging 2022-01-05 17:45:39 +01:00
Alexander Zinchuk
ffa5697887 [Perf] TeactN: Throttle with tick end instead of RAF 2021-12-31 18:17:30 +01:00
Alexander Zinchuk
3ef7136621 [Perf] TeactN: Get rid of redundant iterations for global actions 2021-12-31 18:17:27 +01:00
Alexander Zinchuk
e86c126a89 TeactN: Support forcing during heavy animation 2021-12-10 18:33:37 +01:00
Alexander Zinchuk
785ac3d11a [Debug] Teact: Add benchmarks for effects 2021-12-10 18:33:15 +01:00
Alexander Zinchuk
ebf20fa013 [Perf] TeactN: Check for heavy animations 2021-12-10 18:33:12 +01:00
Alexander Zinchuk
dee7d2163f Teact: Fix key = 0 in fast lists 2021-12-10 18:32:27 +01:00
Alexander Zinchuk
27b3cdbd6f Teact: Fix rendering role and aria-* attributes 2021-12-10 18:32:24 +01:00
Alexander Zinchuk
0575fc6e00 Calls: Add peer-to-peer calls with fallback to group calls 2021-11-29 18:30:57 +01:00
Alexander Zinchuk
528137daff [Perf] Teact: Optimize updating attributes and support dangerouslySetInnerHTML 2021-11-27 17:40:44 +01:00
Alexander Zinchuk
d0cd729b38 Teact: Fix effect cleanup order 2021-10-13 14:38:45 +03:00
Alexander Zinchuk
d7ca790f0a [Refactoring] Fix TS and ESLint errors after updating packages (#1386) 2021-08-16 14:21:33 +03:00
Alexander Zinchuk
101a28d01d [Teact] [Dev] Add more debug tools 2021-08-03 19:02:59 +03:00
Alexander Zinchuk
29d2ec0416 Teact: Fix DOM nodes leak 2021-07-28 21:44:52 +03:00
Alexander Zinchuk
7b00e471ad [Perf] Chat List: Some optimizations 2021-07-15 01:32:24 +03:00
Alexander Zinchuk
0a594a84e1 Full browser history support (#1181) 2021-07-13 17:31:30 +03:00
Alexander Zinchuk
3f5c8edceb [Perf] Reduce amount of global containers (DeleteChatModal, Transition, SafeLink, Audio) 2021-06-24 14:46:12 +03:00
Alexander Zinchuk
c3201cf632 Revert "Better browser history support (#1125)"
This reverts commit 3c19438f1a9f6db9a06dc3b48bd06d062befe0b8.
2021-06-14 22:12:34 +03:00
Alexander Zinchuk
51b893d4df Better browser history support (#1125) 2021-06-12 17:20:25 +03:00
Alexander Zinchuk
b2242f7fe4 Add RTL Support (#1135) 2021-06-11 01:19:08 +03:00
Alexander Zinchuk
f26f30ccb9 Teact: Fix missing update 2021-05-11 23:18:02 +03:00
Alexander Zinchuk
75d72fe884 Teact: Fix for useState 2021-05-09 03:11:42 +03:00
Alexander Zinchuk
a17240466a [Debug] Some more debug tools 2021-05-09 02:00:00 +03:00
Alexander Zinchuk
3afcde3217 Initial commit 2021-04-09 14:11:51 +03:00