prevstate (npm): using funcional you can still access your prevstate
Keywords: prevstate|functional