stoxy-js / stoxy

Stoxy is a state management API for all modern Web Technologies
76 stars 1 forks source link

Add support for subscribing to subkeys #10

Closed Matsuuu closed 3 years ago

Matsuuu commented 3 years ago

I was thinking of implementing a diffing tool for the updates, but thinking about it now, I don't now if it's the responsibility of Stoxy.

Stoxy doesn't store have a direct ref of the previous state of the state object and therefore would have to fetch it to do the diffing and I don't know if I want to force a read operation on the write operation.