Closed as not planned
Description
Describe the problem
I would like to propose a feature to support bracket notation for rendering dynamic components. Currently, only dot notation is supported, but adding support for bracket notation would provide more flexibility.
example:
Svelte Lab
While dot notation is useful for static keys, bracket notation would provide more flexibility for dynamic keys and expressions.
Describe the proposed solution
Allow the use of bracket notation to access and render components from an object, similar to how it works with other JavaScript objects. For example:
<components[key]></components[key]>
Importance
would make my life easier
Metadata
Metadata
Assignees
Labels
No labels