teleport-code-generators
teleport-code-generators copied to clipboard
Combine state keys in a single conditional render instruction
It might be useful at some point to render something based on two different state keys. Currently this could be done in theory, but in a hackish way with nested states.
Since we have the capability of describing different operations when rendering based on a state value, we could also introduce the state keys in the mix so that a single rendering instructions can be conditioned based on two different state values
React ex:
{ isVisible && isReady && <div>...</div> }
For vue, we have to implement state handling first, then figure this out as well