Create a new updateState function on Resource
Create a new updateState function on Resource

This allows users to update a local cache/state and emit change events
without sending state to the server

evert/ketting,evert/restl,evert/ketting