My intuition is that we should try to remove the old widget and create a new one with the same property values for the new kinds. A lot of properties will make sense for all kinds anyway (e.g. x, y, color, etc.) Those that don't can be thrown away.
If we do that, that probably should be taken care of in reader.onChange.
My intuition is that we should try to remove the old widget and create a new one with the same property values for the new kinds. A lot of properties will make sense for all kinds anyway (e.g. x, y, color, etc.) Those that don't can be thrown away.
If we do that, that probably should be taken care of in
reader.onChange
.Another possibility is just to raise an error.