react-native-web

WebJar for react-native-web

Лицензия

Лицензия

Категории

Категории

React Взаимодействие с пользователем Веб-фреймворки Native Инструменты разработки
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

react-native-web
Последняя версия

Последняя версия

0.0.24
Дата

Дата

Тип

Тип

jar
Описание

Описание

react-native-web
WebJar for react-native-web
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/necolas/react-native-web

Скачать react-native-web

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/react-native-web/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>react-native-web</artifactId>
    <version>0.0.24</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/react-native-web/
implementation 'org.webjars.npm:react-native-web:0.0.24'
// https://jarcasting.com/artifacts/org.webjars.npm/react-native-web/
implementation ("org.webjars.npm:react-native-web:0.0.24")
'org.webjars.npm:react-native-web:jar:0.0.24'
<dependency org="org.webjars.npm" name="react-native-web" rev="0.0.24">
  <artifact name="react-native-web" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='react-native-web', version='0.0.24')
)
libraryDependencies += "org.webjars.npm" % "react-native-web" % "0.0.24"
[org.webjars.npm/react-native-web "0.0.24"]

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
org.webjars.npm : fbjs jar [0.6,0.7),[0.7,0.8)
org.webjars.npm : lodash.debounce jar [4.0.3,5)
org.webjars.npm : react-textarea-autosize jar [3.1.0,4)
org.webjars.npm : inline-style-prefix-all jar [1.0.4,2)
org.webjars.npm : react-timer-mixin jar [0.13.3,0.14)

Модули Проекта

Данный проект не имеет модулей.

React Native for Web

npm version Build Status PRs Welcome

"React Native for Web" makes it possible to run React Native components and APIs on the web using React DOM.

Documentation

The documentation site covers installation, guides, and APIs.

Example

And here is a simple example to get you started. The example app includes interactive examples and the source code is also available.

import React from 'react';
import { AppRegistry, StyleSheet, Text, View } from 'react-native';

class App extends React.Component {
  render() {
    return (
      <View style={styles.box}>
        <Text style={styles.text}>Hello, world!</Text>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  box: { padding: 10 },
  text: { fontWeight: 'bold' }
});

AppRegistry.registerComponent('App', () => App);
AppRegistry.runApplication('App', { rootTag: document.getElementById('react-root') });

This example will render the App into a container on the page.

You'll notice that there is no reference to react-dom; the App component is defined using the platform-agnostic APIs and Components introduced by React Native. This allows the app to be rendered to web and native platforms.

Contributing

The main purpose of this repository is to help evolve React web and native development towards the platform-agnostic design of React Native, and in the process make it faster and easier to build high-quality experiences for the web with React. Development happens in the open on GitHub, and we are grateful for contributing bugfixes and improvements. Read below to learn how you can take part in improving React Native for Web.

Code of conduct

Facebook has adopted a Code of Conduct that this project expects all participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Contributing guide

Read the contributing guide to learn about the development process, how to propose bugfixes and improvements, and how to build and test your changes to React Native for Web.

Good first issues

To help you get you familiar with the contribution process, there is a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started.

License

React Native for Web is MIT licensed. By contributing to React Native for Web, you agree that your contributions will be licensed under its MIT license.

Версии библиотеки

Версия
0.0.24