rechange
это сильно конечно. Если цель разобраться - то открываем ДевТулзы и вешаем прослушку всех (или интересующих) событий на элемент через monitorEvents. Там же и увидите, какие события диспатчатся на элементе. import/no-cycle
Rule | Time (ms) | Relative
:------------------------------------|----------:|--------:
import/no-cycle | 11511.688 | 34.7%
@typescript-eslint/naming-convention | 8997.119 | 27.1%
prettier/prettier | 7475.841 | 22.5%
import/namespace | 1279.176 | 3.9%
react/no-unused-prop-types | 487.986 | 1.5%
import/order | 459.598 | 1.4%
react/no-direct-mutation-state | 374.867 | 1.1%
import/no-extraneous-dependencies | 303.322 | 0.9%
react/require-render-return | 238.389 | 0.7%
react/jsx-no-target-blank | 114.757 | 0.3%
import/no-cycle
:Rule | Time (ms) | Relative
:------------------------------------|----------:|--------:
@typescript-eslint/naming-convention | 9119.487 | 36.8%
prettier/prettier | 7412.667 | 29.9%
import/namespace | 4362.292 | 17.6%
react/no-unused-prop-types | 479.613 | 1.9%
import/order | 466.176 | 1.9%
react/no-direct-mutation-state | 358.955 | 1.4%
import/no-extraneous-dependencies | 315.997 | 1.3%
react/require-render-return | 247.203 | 1.0%
react/jsx-no-target-blank | 117.753 | 0.5%
object-shorthand | 99.188 | 0.4%
import/no-cycle
:Rule | Time (ms) | Relative
:------------------------------------|----------:|--------:
import/no-cycle | 11696.468 | 34.6%
@typescript-eslint/naming-convention | 9126.938 | 27.0%
prettier/prettier | 7624.741 | 22.6%
import/namespace | 1268.783 | 3.8%
import/order | 494.612 | 1.5%
react/no-unused-prop-types | 492.833 | 1.5%
react/no-direct-mutation-state | 369.681 | 1.1%
import/no-extraneous-dependencies | 312.265 | 0.9%
react/require-render-return | 237.468 | 0.7%
react/jsx-no-target-blank | 119.953 | 0.4%
import/no-cycle
:Rule | Time (ms) | Relative
:------------------------------------|----------:|--------:
@typescript-eslint/naming-convention | 9857.736 | 36.3%
prettier/prettier | 8042.446 | 29.7%
import/namespace | 4817.001 | 17.8%
react/no-unused-prop-types | 550.794 | 2.0%
import/order | 496.272 | 1.8%
react/no-direct-mutation-state | 395.921 | 1.5%
import/no-extraneous-dependencies | 344.228 | 1.3%
react/require-render-return | 248.769 | 0.9%
react/jsx-no-target-blank | 132.625 | 0.5%
react/no-deprecated | 117.986 | 0.4%
interface Store {}
const _store: Store = {
// some store logic here
};
const store = makeAutoObservable(_store);
export default store; // ну или без default-варианта
makeAutoObservable({ /* some store logic here */ })
съедало типизацию.order_status
склеивается в ключ?