Renderless components are components that do not render anything by themselves, instead to encapsulate common behaviour and leave the actual output up to the consumer. In Svelte we achieve this through the use of slots.
Renderless components are components that do not render anything by themselves, instead to encapsulate common behaviour and leave the actual output up to the consumer. In Svelte we achieve this through the use of slots.