Чтобы добавить перевод, откройте Pull Request по этой ссылке.
Отображается содержимое для языка по умолчанию.
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.
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:
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.
Документация на английском языке - самая актуальная, поскольку её пишет и обновляет команда effector. Перевод документации на другие языки осуществляется сообществом по мере наличия сил и желания.
Помните, что переведенные статьи могут быть неактуальными, поэтому для получения наиболее точной и актуальной информации рекомендуем использовать оригинальную англоязычную версию документации.