[state, sideEffect], and pure meaning it does not use any data not immediately accessible to the action. On the contrary, an invalid action would use things like
Date.now(), which are external to the action function.
nis available in the inner function (
nis not available outside of this closure (