Skip to content

bitcoinuser/sphinx-android

 
 

Repository files navigation

sphinx-android

StakWork

React-Native Android client for Sphinx network

contributing

  • Each merge request should include documentation:
    • purpose of changes
    • any libraries added & if they need linking
    • any changes in Android manifest, etc

react:

  • 100% typescript
  • 100% function components and hooks
  • Layouts in flexbox
  • Self-contained, minimal components (each <150 LOC)

State management:

  • "useStores" to get state in each component (few props)
  • App state managed by mobx observables (except state local to a single component)
  • All calls to backend managed in mobx actions (src/store). Each action should catch errors, but not throw any error
  • Persist state with mobx-persist (dont directly use AsyncStorage)
  • Incoming websocket messages managed from one interface (src/store/websocketHandlers.ts)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.6%
  • JavaScript 4.8%
  • Java 1.6%
  • Other 1.0%