5 ms·
Very cool. I wrote something similar a while back: https://github.com/napoleond/localModel https://github.com/napoleond/localModel My implementation leaves a l
by fooandbarify 15y ago
Very cool. I wrote something similar a while back: https://github.com/napoleond/localModel https://github.com/napoleond/localModel
My implementation leaves a lot to be desired with regards to re-use (there are certain project requirements which happened to be met by the project I built it for) but it does nicely manage automatic replication of the most recent version of models between server and client.
As far as I can tell, this implementation reads from the local model if it exists, otherwise it loads from the server? And writes always go to the server unless explicitly told otherwise?
- lucian1900 15y agoWrites always go both locally and to the server unless told otherwise, yes.