Skip to content

Changing a component instance to another component #965

Answered by hirunatan
iwoithe asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @iwoithe. Changing an instance to any general component would be a very complex operation, with a lot of use cases. We are working on a more concrete solution, that would be some kind of components with variants. So you may have some different states in a same component (e.g. open/closed, pushed/unpushed). We think this would fit most use cases for what you are asking.

But this is already in an early state of thinking.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iwoithe
Comment options

Answer selected by iwoithe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants