rio-labs/rio

Extend `key` to Accept Values other than `str`

Closed this issue · 0 comments

Components accept a key, which is used to recognize components across multiple rebuilds and reconciliations. Keys right now must be strings, but in practice, other values are often available that are equally suited. int in particular is a common one.

Add support for other types. Possible examples:

  • int
  • Path