rememberUpdatedRef

Unlike rememberUpdatedState, this doesn't trigger recomposition.