* Allow function value in usePersistedState * Add tests for usePersistedState * Use nullish coalescing to avoid calling getItem twice GitOrigin-RevId: e0351addea904aefb7a402bff32689792b49fbbb