Closed ryanbliss closed 2 months ago
LivePresence now supports undefined and null as valid TData generics, so that it can more closely align to LiveState. With this change, the data prop in initialize and update are no longer optional so the developer can have more explicit typing.
LivePresence
undefined
null
TData
LiveState
data
initialize
update
LivePresence
now supportsundefined
andnull
as validTData
generics, so that it can more closely align toLiveState
. With this change, thedata
prop ininitialize
andupdate
are no longer optional so the developer can have more explicit typing.