Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the purpose of the 'context' API in Svelte?
Answer: The 'context' API in Svelte allows components to communicate indirectly by sharing state with their descendants. It's useful for avoiding prop drilling.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook