-
-
Notifications
You must be signed in to change notification settings - Fork 276
Closed
Description
A readonly
has been introduced in the recent minor 1.2.9 release
a983b8b#diff-b68a2cbc8606fe37f9c2c72867a87ff50a11c2b38a6d9de45a94281f02bf0a4eR252
Is this considered to be a breaking change? The change makes sense to me and it looks useful, but it in my case, I haven't explicitly marked props as readonly
. My build breaks in ts strict mode and in order to fix it, I have to mark all props as readonly
(I haven thought much about it before, but to me props are always immutable) where I pass data from useSnapshot
.
AlexZenin, T-Damer, rodrigocfd, ebuildy, OoO256 and 2 more
Metadata
Metadata
Assignees
Labels
No labels