Bu sahifa hali tarjima qilinmagan

Tarjima qoshish uchun havola boyicha o'tib Pull Request oching (havolaga o'tish).

Standart til uchun tarkibni ko'rsatadi.

import "effector/enable_debug_traces";

A special import that enables detailed traces for difficult-to-debug errors, such as a Store missing a proper SID during Scope serialization.

Performance cost

Debug traces work by capturing additional information when Stores and Events are created. This introduces a performance overhead during module initialization.

We do not recommend using this API in production environments.

Debug Trace import

To enable debug traces, add import "effector/enable_debug_traces" to the entrypoint of your bundle, like this:

src/index.ts
import "effector/enable_debug_traces";
// ...rest of your code

When to use it

If you encounter an error that can be diagnosed with this API, you will see a recommendation in the console: Add "import 'effector/enable_debug_traces'" to your code entry module to see full stack traces.

Don’t forget to remove this import once the issue has been resolved.

Tarjima jamiyat tomonidan qollanilyapti

Ingliz tilidagi hujjatlar eng dolzarb hisoblanadi, chunki u effector guruhi tomonidan yozilgan va yangilanadi. Hujjatlarni boshqa tillarga tarjima qilish jamiyat tomonidan kuch va istaklar mavjud bo'lganda amalga oshiriladi.

Esda tutingki, tarjima qilingan maqolalar yangilanmasligi mumkin, shuning uchun eng aniq va dolzarb ma'lumot uchun hujjatlarning asl inglizcha versiyasidan foydalanishni tavsiya etamiz.

Hammualliflar