hookstate
hookstate copied to clipboard
Add state.current property
State.current - would return the actual State object, which might be different if state changed since the State variable was captured.