IOType is very inconsistent about the name that it uses for "state object". This is one of the things that makes it unnecessarily confusing. It would clearer ifstateObject were used everywhere, instead of state, s, etc.
Suggestions:
[ ] Rename applyState to applyStateObject
[x] Rename stateToArgsForConstructor to stateObjectToConstructorArguments
[ ] Rename params "state", "s", and other variations to "stateObject"
IOType is very inconsistent about the name that it uses for "state object". This is one of the things that makes it unnecessarily confusing. It would clearer if
stateObject
were used everywhere, instead ofstate
,s
, etc.Suggestions:
applyState
toapplyStateObject
stateToArgsForConstructor
tostateObjectToConstructorArguments