lidocommon
v1.0.36
Published
Common Components ReactNative and ReactNativeWeb ## code sharing between Web, iOS and Android \ **Technology Used:**\ [React](https://reactjs.org/)\ [React Native](https://facebook.github.io/react-native/)\ [React Native Web](https://github.com/necolas/re
Downloads
11
Maintainers
Readme
lidocommon
Common Components ReactNative and ReactNativeWeb
code sharing between Web, iOS and Android
Technology Used:
React
React Native
React Native Web
Typescript
To Build Library:\
- Run
npm run build
in root folder.
To Develop Components:
Please follow below mentioned step to run this project:
- Clone the repo
git clone [email protected]:shubhadip/lidocommon.git
- run npm install in root folder
To develop
- Run
npm run dev
in root folder.
To develop using webpack(for react-native-web)
- Run
npm run web
in root folder.
For StoryBook Development
- Run
npm run storybook
in root folder.
To update library code and develop your native version
- Run
npm run dev
and Runnpm run android
ornpm run ios
on our repository in which you are suppose to use these components.
to develop android/ios code we have to make a symlink from library to react-native project .
npm install -g wml
.
wml add ./lidocommon ./repository/node_modules/lidocommon
wml start
.
now you will get updated code everytime you change something in library code.
To Import Library
import { YourComponent } from 'monoreactrepo'