0.1.10 • Published 3 years ago

react-native-commons v0.1.10

Weekly downloads
96
License
-
Repository
-
Last release
3 years ago

React Native Commons

Important Configurations #gitlab-ci, flow, eslint, just & Metro Bundler (RN 0.57+) To apply in any project,

  1. you need to create a stub for flow-type for react-native-commons and all sub-module to prevent it show error of can't resolved when import its as a library
  • In folder flow-typed (of your project), create file names react-native-commons_vx.x.x.js
  • In react-native-commons_vx.x.x.js file, export the module (react-native-commons & the sub-modules you want to implement & import) like:

    `declare module 'react-native-commons' { declare module.exports: any; }

declare module 'react-native-commons/app/about-us' { declare module.exports: any; }

declare module 'react-native-commons/app/cross-promotion' { declare module.exports: any; }`

  1. Use yarn install instead npm install & delete the package-lock.json file (with yarn we don't need it anymore)
0.1.10

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

5 years ago

0.0.1

5 years ago