/maka-native

Opinionated starter for React Native ft. redux-saga and friends.

Primary LanguageTypeScriptMIT LicenseMIT

Maka Native

Dependency Status devDependency Status GitHub issues GitHub license


Maka Native is an opinionated boilerplate for crafting React Native-powered mobile applications with TypeScript, redux, redux-saga, styled-components, storybooks & more. Since it's meant as a starting point for new apps, it uses no class components and relies heavily on the Hooks pattern.

TypeScript React Redux

Requirements

Before start, make sure you installed:

We also prefer Yarn but it's not required. Feel free to swap yarn to npm in the instructions below.

Project structure

Modules & module structures in Maka

Modules are generally indepedent blocks for certain functionality. They are meant to be portable, small and functional pieces of code you can use in multiple applications, even those not using React.

  • api.js: async functions to use mainly in Sagas
  • sagas.js: Saga’s related to the module, only export
  • reducer.js: Redux reducer (try to have a single reducer in each module)
  • subscribers.js: Event channels for Saga
  • actions.js: Pure Redux actions
  • hooks.js: Hooks for React
  • types.js: TypeScript types

License & Credits

All open source code released by NOD are under the MIT license.

Core Contributors

See also the list of contributors who participated in this project.

Primarily focused on media & adtech, NOD.DIGITAL is a digital product studio from Istanbul.

If you like working with the same stack we do, you might consider joining us. Never hesitate to contact us for anything via hey@nod.digital.