Pertanyaan dan Jawaban Wawancara Paling Populer & Tes Online
Platform edukasi untuk persiapan wawancara, tes online, tutorial, dan latihan langsung

Bangun keterampilan dengan jalur belajar terfokus, tes simulasi, dan konten siap wawancara.

WithoutBook menghadirkan pertanyaan wawancara per subjek, tes latihan online, tutorial, dan panduan perbandingan dalam satu ruang belajar yang responsif.

Prepare Interview

Svelte.js Pertanyaan dan Jawaban Wawancara

Ques 11. How can you pass data between parent and child components in Svelte?

Data can be passed from parent to child components in Svelte using props. The parent component can bind a variable to a child component property, ensuring updates are reflected in the child.

Apakah ini membantu? Add Comment View Comments
 

Ques 12. Explain the purpose of the 'await' block in Svelte.

The 'await' block in Svelte is used for asynchronous logic. It allows you to await a Promise and handle the resolved value or catch errors within the template.

Apakah ini membantu? Add Comment View Comments
 

Ques 13. What are Svelte transitions, and how do you use them?

Svelte transitions enable smooth animations during element insertion, removal, or state changes. You can use 'in:' and 'out:' directives to specify transition effects.

Apakah ini membantu? Add Comment View Comments
 

Ques 14. How does Svelte handle global CSS styles?

Svelte allows you to include global CSS styles using the 'global' keyword. Styles defined with 'global' apply globally across all components.

Apakah ini membantu? Add Comment View Comments
 

Ques 15. Explain the role of the 'key' attribute in Svelte's each block.

The 'key' attribute in Svelte's each block is used to uniquely identify elements during iteration. It helps Svelte efficiently update the DOM when the list changes.

Apakah ini membantu? Add Comment View Comments
 

Most helpful rated by users:

Hak Cipta © 2026, WithoutBook.