Svelte developers may be wondering about the best way to pass multiple components into a layout's render function at different routing sub-levels. A recent question on Dev.to highlights the issue, seeking an alternative to using named slots in Svelte 4. The user currently uses writable stores and context methods to achieve this, but finds their approach "circuitous" and thinks there must be a more direct way.
Discussion
No replies yet.