react-lang

Use simple components(<EN>, <ZH> and etc) to create i18n apps.


Keywords
react, i18n, international, react-native, utilities, shared
License
MIT
Install
npm install react-lang@0.1.1

Documentation

react-web

React全家桶

A rich collection of react vendors and components for silky web dev experience.

Install

Browser/Production

<!-- no react.js, no react-dom.js, no babel-polyfill -->
<script src="https://cdn.jsdelivr.net/npm/@react-web/vendor@0.1.2/dist/vendor.production.js" />

<script src="/your/app.js" />

NPM/Development

vendor:

→ npm i @react-web/vendor -D

components:

→ npm i @react-web/components -D

Document

Vendor vendor

@react-web/vendor bundled below packages as one file so you can use one script to load them all. You can spend less time to solve dependencies problems and focus on your code.

Vendor Version Description
react 16.3.2 A UI Framework
react-dom 16.3.2 DOM adaptor for react
prop-types 15.6.0 Runtime type checking for React props and similar objects
react-adopt 0.4.1 Compose render props components
react-grid-system 3.1.2 Bootstrap-like responsive grid system
react-keyframes 0.2.3 Create frame-based animations
react-modal 3.1.11 Accessible modal dialog component
react-motion 0.5.2 A spring that solves your animation problems
react-redux 5.0.6 Official React bindings for Redux
react-router-dom 4.2.2 Declarative routing for React
react-router-redux 5.0.0-alpha.9 Keep your state in sync with your router
redux 3.7.2 Predictable state container for JavaScript apps
redux-thunk 2.2.0 thunk
systemjs 0.20.19 Dynamic ES module loader
warning 3.0.0 warning

Components

Package Version Components Description
@react-web/components[1] components {...} All the components below
@react-web/activity-indicator activity-indicator ActivityIndicator Activity Indicator
@react-web/app-registry app-registry AppRegistry AppRegistry
@react-web/async-loader async-loader AsyncLoader Async Loader
@react-web/box box Box A box view
@react-web/button button Button Button
@react-web/file-picker file-picker FilePicker AppRegistry
@react-web/grid[2] grid Grid Grid
@react-web/image image Image Image
@react-web/menu menu Menu Menu
@react-web/platform platform Platform Platform
@react-web/popup popup Popup Popup layer
@react-web/promise-view promise-view PromiseView Promise可视化
@react-web/scroll-view scroll-view ScrollView Scroll view
@react-web/slider slider Slider Slider
@react-web/stylesheet stylesheet StyleSheet 样式表
@react-web/svg[2] WIP[3] Svg Svg
@react-web/text text Text 文字
@react-web/text-input text-input TextInput AppRegistry
@react-web/touchable touchable { TouchableOpacity } Touchable
@react-web/triangle-arrow[2] triangle-arrow TriangleArrow Triangle arrow
@react-web/utils utils Utils Utils
@react-web/view view View 视图
  • [1] : @react-web/components includes all the components, exclude [2]
  • [2] : Not included in @react-web/components, should be installed separately.
  • [3] : Working in progress, not published.

License

MIT