3 Component Props Tutorial
svelte · · This is a re-implementation for the example from the tutorial using render props · The example can be found here: tutorial
Component composition Slot props slot props svelte svelte · · This is a re-implementation for the example from the tutorial using render props · The example can be found here: tutorial slot ways of the qilin Further Reading · React Docs: Context · React's Render Props Pattern · Svelte API: slot · XState: JavaScript State Machines More from the blog
slot dana 2023 slot> slot prop={value} > Components can have child content, in the same way that elements can The content is exposed in the child component using the slot>
Regular
price
171.00 ₹ INR
Regular
price
Sale
price
171.00 ₹ INR
Unit price
/
per