Hybrid getState from path, and set state that just record its setting
A functional "get" and parameterized the get/set type