Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

svelte-selector-lifecycle

النجوم٠
التفرعات١
آخر تحديث١٣ يوليو ٢٠٢٦ في ١٧:٠٠

The three selector call modes and Store-first dispatch rule — the #1 source of runtime crashes in themis. Covers selectFoo() at component init (Svelte readable via getContext), selectFoo.select(state) for one-shot reads in event handlers / callbacks / async, yield* selectFoo.effect() inside sagas, and selectFoo.select(state) when composing selectors. Documents Store.dispatch usage, the lifecycle_outside_component crash, and the wrong-shape trap when passing the selector object to yield* select().

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly