@universal-packages/core-react-native
v1.1.9
Published
React Native universal-core abstraction.
Readme
Core React Native
React Native universal-core abstraction.
| Remember to follow he Set up your development environment guide to make sure you have all the necessary dependencies installed.
Install
npm install @universal-packages/core-react-nativeInitialization
This will create a new react native app using react-native as well as adapting the resulting app to use the core abstraction.
ucore initialize react-native --name my-appDevelopment
Instead of running npm start you use the ucore run command to start the development server of you react native app, you can have multiple apps initialized in the same project and run them individually.
ucore run react-native --name my-appTypescript
In order for typescript to see the global types you need to reference the types somewhere in your project, normally ./src/globals.d.ts.
/// <reference types="@universal-packages/core-react-native" />This library is developed in TypeScript and shipped fully typed.
Contributing
The development of this library happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving this library.
