type is the component class's static readonly typeName — §6a's registry
key, which §79 makes the serialization name too. data is whatever that
type's registered serializer produced; this module treats it as opaque JSON
and neither reads nor rewrites it, which is how a document carries component
data for types the reading build has never heard of.
One component of a node (§6a, §79).
typeis the component class'sstatic readonly typeName— §6a's registry key, which §79 makes the serialization name too.datais whatever that type's registered serializer produced; this module treats it as opaque JSON and neither reads nor rewrites it, which is how a document carries component data for types the reading build has never heard of.