@universal-packages/core-react-native
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Core React Native

npm version Testing codecov

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-native

Initialization

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-app

Development

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-app

Typescript

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.

License

MIT licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i @universal-packages/core-react-native

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

24.3 kB

Total Files

17

Last publish

Collaborators

  • omarandstuff