Closed dhruvkb closed 2 years ago
Is your feature request related to a problem? Please describe.
Currently the islands are named in a very non-descript way like "App 2":
This is fine for smaller applications with few islands but as the number of islands grows it'll be hard to keep track of islands by a number.
Describe the solution you'd like
A good solution would be to provide a way to name the individual islands.
Describe alternatives you've considered
If a custom name API would be infeasible, the next best thing would be to name the island after the component it encapsulates.
Being able to specify a custom name would require extending the transform logic, which is already complex.
transform
I like the suggestion of naming them after the components, I've implemented auto-inferred names in #141.
Is your feature request related to a problem? Please describe.
Currently the islands are named in a very non-descript way like "App 2":
This is fine for smaller applications with few islands but as the number of islands grows it'll be hard to keep track of islands by a number.
Describe the solution you'd like
A good solution would be to provide a way to name the individual islands.
Describe alternatives you've considered
If a custom name API would be infeasible, the next best thing would be to name the island after the component it encapsulates.