大家好,今天来介绍react组件库有哪些(react的移动应用ui框架)的问题,以下是渲大师小编对此问题的归纳和整理,感兴趣的来一起看看吧!
React Native常用三方组件库大全
作者整理的一套常用的React Native开发中使用到的三方组件库大全,后续也会持如源续更新,同学们如果发现有好用的组件但是文章中没有列出的,也请给作者留言告知组件名称,作者好将读者们反馈兄梁的组件添加到文章中,以便帮助更多的RN开发者。后续持续更新的三方组件会放到文章的开渣尘态头部分,代表是新追加的组件,小伙伴们请知晓!
如果小伙伴们想学习React Native 框架的搭建以及Redux框架的学习使用,可以参考作者的开源项目OneM: https://github.com/guangqiang-liu/OneM 记得给个 star 哦
当然也欢迎小伙伴们加入作者的React Native实战开发QQ交流群: 620792950 , 开发中遇到的问题可以在群里随意的提问,互相交流学习。
https://github.com/fangwei716/30-days-of-react-native
此组件目前只支持ES5 语法,ES6语法请在componentWillUnmount() 中清除timer
https://github.com/reactjs/react-timer-mixin
https://github.com/ant-design/ant-design-mobile
https://github.com/ide/react-native-button
https://github.com/ascoders/react-native-image-viewer
https://github.com/oblador/react-native-progress
[图片上传失败…(image-8658f8-1511425885032)]
https://github.com/aksonov/react-native-router-flux
https://github.com/jasonmerino/react-native-simple-store
https://github.com/happypancake/react-native-tab-navigator
https://github.com/oblador/react-native-vector-icons
https://github.com/race604/react-native-viewpager
https://github.com/react-community/react-navigation
https://github.com/oblador/react-native-animatable
https://github.com/nick/react-native-carousel
https://github.com/buhe/react-native-countdown
react-native-device-info
https://github.com/rebeccahughes/react-native-device-info
react-native-fileupload
https://github.com/PhilippKrone/react-native-fileupload
https://github.com/corymsmith/react-native-icons
https://github.com/oblador/react-native-vector-icons
react-native-image-picker
https://github.com/react-community/react-native-image-picker
react-native-keychain
https://github.com/oblador/react-native-keychain
react-native-picker
https://github.com/beefe/react-native-picker
[图片上传失败…(image-689a68-1511950421120)]
react-native-picker-Android
https://github.com/beefe/react-native-picker-android
react-native-refreshable-listview
https://github.com/jsdf/react-native-refreshable-listview
react-native-scrollable-tab-view
https://github.com/skv-headless/react-native-scrollable-tab-view
react-native-side-menu
https://github.com/react-native-community/react-native-side-menu
react-native-swiper
https://github.com/leecade/react-native-swiper
react-native-video
https://github.com/react-native-community/react-native-video
react-native-viewpager
https://github.com/race604/react-native-viewpager
react-native-scrollable-tab-view
https://github.com/skv-headless/react-native-scrollable-tab-view
react-native-tab-navigator
https://github.com/happypancake/react-native-tab-navigator
react-native-check-box
https://github.com/crazycodeboy/react-native-check-box
react-native-splash-screen
https://github.com/crazycodeboy/react-native-splash-screen
react-native-simple-router
https://github.com/react-native-simple-router-community/react-native-simple-router
react-native-storage
https://github.com/sunnylqm/react-native-storage
react-native-sortable-listview
https://github.com/deanmcpherson/react-native-sortable-listview
react-native-htmlview
https://github.com/jsdf/react-native-htmlview
react-native-easy-toast
https://github.com/crazycodeboy/react-native-easy-toast
https://github.com/xinthink/react-native-material-kit
http://nativebase.io/docs/v0.4.6/components#anatomy
https://github.com/GeekyAnts/NativeBase
https://github.com/mastermoo/react-native-action-button
https://github.com/ide/react-native-button
https://github.com/gcanti/tcomb-form-native
https://github.com/FaridSafi/react-native-gifted-form
https://github.com/bartonhammond/snowflake
https://github.com/halilb/react-native-textinput-effects
https://github.com/zbtang/React-Native-TextInputLayout
https://github.com/FaridSafi/react-native-gifted-chat
https://github.com/lelandrichardson/react-native-maps
https://github.com/oblador/react-native-animatable
https://github.com/maxs15/react-native-spinkit
https://github.com/root-two/react-native-drawer
https://github.com/dancormier/react-native-swipeout
https://github.com/jemise111/react-native-swipe-list-view
https://github.com/tomauty/react-native-chart
https://github.com/lelandrichardson/react-native-parallax-view
https://github.com/cqm1994617/react-native-myCalendar
https://github.com/joshswan/react-native-globalize
https://github.com/hinet/react-native-checkboxlist
https://github.com/sconxu/react-native-checkbox
https://github.com/ideacreation/react-native-barcodescanner
https://github.com/frostney/react-native-create-library
https://github.com/MisterAlex95/react-native-record-sound
https://github.com/bosung90/react-native-audio-android
https://github.com/KBLNY/react-native-message-bar
https://github.com/aksonov/react-native-tableview
https://github.com/jeanregisser/react-native-popover
https://github.com/instea/react-native-popup-menu
https://github.com/madriska/react-native-quick-actions
https://github.com/beefe/react-native-actionsheet
https://github.com/ldn0x7dc/react-native-gallery
https://github.com/wix/react-native-keyboard-aware-scrollview
https://github.com/reactnativecn/react-native-inputscrollview
https://github.com/sunnylqm/react-native-storage
https://github.com/djchie/react-native-star-rating
https://github.com/joshswan/react-native-globalize
https://github.com/lazaronixon/react-native-qrcode-reader
https://github.com/rt2zz/react-native-contacts
https://www.npmjs.com/package/crypto-js
https://github.com/reactnativecn/react-native-http-cache
https://github.com/sghiassy/react-native-sglistview
https://github.com/xfumihiro/react-native-image-to-base64
https://github.com/mehcode/rn-splash-screen
https://github.com/remobile/react-native-marquee-label
https://github.com/beefe/react-native-textinput
https://github.com/alinz/react-native-webview-bridge
https://github.com/yamill/react-native-orientation
https://github.com/cnjon/react-native-pdf-view
https://github.com/rebeccahughes/react-native-device-info
https://github.com/kiddkai/react-native-gestures
https://github.com/johanneslumpe/react-native-gesture-recognizers
https://github.com/FaridSafi/react-native-gifted-listview
https://github.com/jsdf/react-native-refreshable-listview
https://github.com/greatbsky/react-native-pull/wiki
https://github.com/alinz/react-native-dropdown
https://github.com/oblador/react-native-lightbox
https://github.com/marcshilling/react-native-image-picker
https://github.com/ivpusic/react-native-image-crop-picker
https://github.com/oblador/react-native-image-progress
https://github.com/race604/react-native-viewpager
https://github.com/FuYaoDe/react-native-app-intro
https://github.com/appintheair/react-native-looped-carousel
https://github.com/leecade/react-native-swiper
https://github.com/maxs15/react-native-modalbox
https://github.com/brentvatne/react-native-modal
https://github.com/bodyflex/react-native-simple-modal
https://github.com/react-native-fellowship/react-native-blur
https://github.com/oblador/react-native-vector-icons
https://github.com/skv-headless/react-native-scrollable-tab-view
https://github.com/aroth/react-native-uploader
https://github.com/oblador/react-native-animatable
https://github.com/oblador/react-native-vector-icons
https://github.com/ivpusic/react-native-image-crop-picker
https://github.com/beefe/react-native-picker
https://github.com/jsdf/react-native-refreshable-listview
[图片上传失败…(image-86b334-1511425885032)]
https://github.com/skv-headless/react-native-scrollable-tab-view
https://github.com/react-native-community/react-native-side-menu
https://github.com/leecade/react-native-swiper
https://github.com/crazycodeboy/react-native-check-box
https://github.com/crazycodeboy/react-native-easy-toast
https://github.com/xinthink/react-native-material-kit
https://github.com/GeekyAnts/NativeBase
https://github.com/mastermoo/react-native-action-button
https://github.com/halilb/react-native-textinput-effects
https://github.com/zbtang/React-Native-TextInputLayout
https://github.com/FaridSafi/react-native-gifted-chat
https://github.com/lovebing/react-native-baidu-map
http://www.jianshu.com/p/eceb7e66fa5e
https://github.com/maxs15/react-native-spinkit
https://github.com/dancormier/react-native-swipeout
https://github.com/jemise111/react-native-swipe-list-view
https://github.com/wuxudong/react-native-charts-wrapper
https://github.com/lelandrichardson/react-native-parallax-view
[图片上传失败…(image-9dccb8-1511425885033)]
https://github.com/cqm1994617/react-native-myCalendar
https://github.com/KBLNY/react-native-message-bar
https://github.com/jeanregisser/react-native-popover
https://github.com/madriska/react-native-quick-actions
https://github.com/beefe/react-native-actionsheet
https://github.com/oblador/react-native-image-progress
https://github.com/maxs15/react-native-modalbox
https://github.com/bodyflex/react-native-simple-modal
https://github.com/react-native-community/react-native-blur
react 有哪些好用的移动端 UI 组件
material-ui
是Google出品的一款安卓原生风格的React组件库,返衡效果挺不逗世顷错的山陆
amaze
ui
React 有哪些优秀实用的组件
1. 父组件 -> 前几层子组件: props
2. 父组件 -> 非常深入的子组件(比如从最顶层到第5层以后): context
这种情况几乎很少见,除非写框架或者工具,最好是只用props,清晰明了
3. 子组件 -> 父组陆袭件:宏判callback
4. 子组件时间: 严格意义上不存在这种情况,如果出现这样的需求,说明你的写法是错误的,
数据的流向始终都应该是从顶至下。例如root -> (A,B,C) 所以A组件改变,需要让B改变时,A调用root以props传来的callback从而导致root的state发生变化,这样B就能得到更新
5.
当APP复杂的可能特殊情况:在使用pureRenderMixin来提升渲染速度的时候,非常里层的子组件需要一些参数来计算显示的值,但是你早绝兄又不需要
当这个值改变的时候重新渲染这个组件而且也不想用context的时候, 在Root中定义this.getAllState= () =>
this.state, 然后将这个getAllState作为props传递给子组件; 这种情况很少出现,慎用
什么是ReactBootstrap
推荐:《编程视猜锋频》
React-bootstrap
1、react-bootstrap是什么?
React-Bootstrap是可重用的前端组件库。
2、react-bootstrap和bootstrap的关系?
react-bootstrap的样慎扒式组件依赖于bootstrap。(如下图1是官网的解释)
3、在react中如何使用React-bootstrap?
3.1、安装:cnpm install react-bootstrap –save;
3.2、写内容组件要用到react-bootstrap的穗孝晌组件的时候,要从react-bootstrap中导入所需的组件;
例如:在组件component.js中,要用到React-bootstrap的Button组件,具体写法如下:
import React from‘react’;
import {Button} from ‘react-bootstrap’;
export default class MyComponent React.Component{
constructor(props){
super(props);
}
render(){
return(
);
}
};3.3、在index.ejs的模板头部,引入bootstrap.css。
3.4、在dist文件夹下放入bootstrap.css源码。
reactrnd
react-rnd 是一个React 组件库,可以提燃冲供一个可调整大小与可拖拽的组件。
开始调整大小时调用
组件调整大小时调用
组件停止调整大小时调用
组皮告歼件开始拖友谨拽时调用
组件拖拽时调用
组件停止拖拽时调用