News for hackers. Stuff that matters.
Re:Restoring React reducer state across browser sessions by bitten on Wednesday April 22, 2020 @02:21AM (#22942811)
You can express a type as one of many interfaces, or use discriminated unions (https://www.typescriptlang.org/docs/handbook/advanced-types....) by using some unique version key to identify each interface. Then you'll have all the goodness of types back :)

There are no comments on this comment yet.