Svelte.js 面接の質問と回答
Question: Explain the difference between reactive declarations and statements in Svelte.Answer: Reactive declarations in Svelte create reactive variables based on dependencies, while reactive statements directly execute code when dependencies change. Declarations use '$:' syntax, and statements use '{# ... }'. |
復習用に保存
この項目をブックマークに追加したり、難しい内容としてマークしたり、復習セットに入れたりできます。
役に立ちましたか? はい いいえ
ユーザー評価で最も役立つ内容:
- What is Svelte.js?
- Explain the concept of reactivity in Svelte.
- How can you perform conditional rendering in Svelte?
- What is the purpose of the \'on:\' directive in Svelte?
- How does Svelte handle global CSS styles?