Post

That's really cool, and I'm sure there are use cases where this will be extremely convenient. But out of the box I find it hard to find an actual use case for it. The demo seems to be a bit of an antipattern (I could achieve the same with simple components). Do you maybe have a real world example?

I saw some people arguing that Svelte doesn't allow export of multiple components from one file. This feature at least goes into the direction.

Yes but that's what I mean. You can find people arguing for any feature you can think of... doesn't mean it's a good idea. Personally I've never had the need to export multiple components; creating Svelte components is so easy! That's why I wonder what a best practice use case would be.

0 reposts0 likes

No replies yet.