You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Breaking change: The value property of the LoadedState interface, and the parameter of the loadedState function, are no longer optional. If you want your LoadedState instances to possibly contain undefined values, you must explicitly state such in the generic type parameter. E.g., state: HttpRequestState<MyDataType | undefined> will allow a LoadedState with an undefined value. (The LoadingState and ErrorState interfaces are unaffected and continue to have an optional value property, even when the generic type does not allow for undefined.)