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
@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 |
{...} |
All the components below | |
@react-web/activity-indicator |
ActivityIndicator |
Activity Indicator | |
@react-web/app-registry |
AppRegistry |
AppRegistry | |
@react-web/async-loader |
AsyncLoader |
Async Loader | |
@react-web/box |
Box |
A box view | |
@react-web/button |
Button |
Button | |
@react-web/file-picker |
FilePicker |
AppRegistry | |
@react-web/grid |
Grid |
Grid | |
@react-web/image |
Image |
Image | |
@react-web/menu |
Menu |
Menu | |
@react-web/platform |
Platform |
Platform | |
@react-web/popup |
Popup |
Popup layer | |
@react-web/promise-view |
PromiseView |
Promise可视化 | |
@react-web/scroll-view |
ScrollView |
Scroll view | |
@react-web/slider |
Slider |
Slider | |
@react-web/stylesheet |
StyleSheet |
样式表 | |
@react-web/svg |
WIP[3] | Svg |
Svg |
@react-web/text |
Text |
文字 | |
@react-web/text-input |
TextInput |
AppRegistry | |
@react-web/touchable |
{ TouchableOpacity } |
Touchable | |
@react-web/triangle-arrow |
TriangleArrow |
Triangle arrow | |
@react-web/utils |
Utils |
Utils | |
@react-web/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.