Use Case Snippets
For completed use cases, please refer to the Usages section in sidebar. There are multiple real-world examples that you can use as a reference.
Advanced Variances
Use it just like CVA
You don’t have to define an object at all time. I know if some components have fairly simple structures, you may only need a string. That’s when SVDM is backward compatible with CVA.
Our type hints will work perfectly with this simple structure as well, as it will infer the type of string
for the output of variant
key.