Last active
August 29, 2016 09:01
-
-
Save gr2m/5463525 to your computer and use it in GitHub Desktop.
Imagine you could share user data with JavaScript right in the browser. How would the code look like? This is what I came up with. Forks & comments much appreciated! (see also: https://gist.github.com/gr2m/5463475) #nobackend #dreamcode
in a talk [1] someone from hoodie mentioned that they share the data using filtered replication of couchdb
I've updated the code to be generic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This looks cool. I am curious how would shares work. Would a share just be an object that contains pointers to data objects? Or would the actual data object be copied into the share?