We restrict usage of rememberSavedInstanceState to only non-nullable types which makes sense, as there is nothing to store. But savedInstanceState is different as it creates a holder object, and the holder object with a nullable inner value is a meaningful state we should save and restore. The regular state{} function works fine with the nullable types.
Description