Skip to content

dat-sdk playground w/ mobx

License

Notifications You must be signed in to change notification settings

100ideas/dat-sdk-async-mobx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dat-sdk-async-mobx

looking forward to the unified (dat, beaker), isomorphic (client, browser), async-centric dat api under development as dat-sdk: https://github.com/datproject/sdk

was wondering how straightforward it is to use in its alpha state - hence this repo. Integrated it with mobx + react + async pattern (maybe overkill).

Looking for feedback on how to use dat-sdk "better". I am sure I am doing it wrong :p.

for a smaller codebase with similar functionality, check out https://github.com/100ideas/corestore

notes

  • was originally trying to demonstrate dat-sdk working purely clientside by developing the app in a browser idea (stackblitz / codesandbox / runkit). For now (5 nov 2019) there hyperdiscovery + discovery-swarm-web are depending on different versions of one another, in particular hyperdiscovery is dependanct on an older version of discovery-swarm-web that itself is dependant on an older version of @geut/discovery-swarm-webrtc that is included via package.json github direct link. This breaks some of the online IDEs / bundlers. So I experimented with various ways of overriding the packages (./src/overrides/) with locally-patched versions. Not pretty & prone to break.
  • see RangerMauve/discovery-swarm-web#7 (comment)

About

dat-sdk playground w/ mobx

https://codesandbox.io/s/github/100ideas/dat-sdk-async-mobx/tree/codesandbox-v1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published