Add snapshot flag to newEffect