当前位置: 首页 > news >正文

ReactNative开发常用的三方模块

写在前面

一个好的App缺不了好的三方支持,生活在ReactNative这个活跃的开源社区,寻找合适的三方组件是一个开发者最基本的能力。不过不积跬步,无以至千里,不积小流,无以成江海。下面分享几个我收集的三方模块,希望对大家有点帮助。

文件上传 react-native-uploader

这里写图片描述

github地址:https://github.com/aroth/reac...

评价:支持多图上传和上传进度显示,demo比较粗糙。项目已经停止更新 4个月

<!--more-->

毛玻璃效果 react-native-blur

这里写图片描述

github 地址:https://github.com/react-nati...

评价:星星比较多,支持3种常见的毛玻璃效果,不错的组件。

图片轮播

  • react-native-viewpager

这里写图片描述
GitHub 地址:https://github.com/race604/re...

评价:实际使用过,轮播效果比较普通,算比较实用吧

  • react-native-looped-carousel

这里写图片描述

GitHub 地址:https://github.com/appintheai...

评价:demo比较精致,可以尝试

  • react-native-app-intro

这里写图片描述

GitHub 地址:https://github.com/FuYaoDe/re...

评价:星星比较多,适合做App进入的引导页

图片选择

  • react-native-image-picker

这里写图片描述

GitHub 地址:https://github.com/marcshilli...

评价:实际使用过,功能强大,兼容性好。但是不支持多图

  • react-native-image-crop-picker

这里写图片描述

GitHub 地址:https://github.com/ivpusic/re...

评价:功能类似,但支持多图

获取设备信息 react-native-device-info

GitHub 地址:https://github.com/rebeccahug...

评价:文档比较细致,算是靠谱的组件

ListView优化替代组件 react-native-sglistview

GitHub 地址:https://github.com/sghiassy/r...

评价:用法简单,可以减小ListView运行占用的内存

二维码识别 react-native-qrcode-reader

github 地址:https://github.com/starknx/re...

评价:比较实用的功能

手势解锁 react-native-gesture-password

这里写图片描述

GitHub 地址:https://github.com/SunflowerG...

评价:为App添彩的功能

这里写图片描述

GitHub 地址:https://github.com/starknx/re...

评价: 星星比较少,项目1年未更新,谨慎使用

键盘遮挡问题解决

评价:新版RN的KeyboardAvoidingView组件可以解决这个问题

图片查看 react-native-gallery

这里写图片描述

GitHub 地址:https://github.com/ldn0x7dc/r...

评价:支持轮播和 放大查看

3D Touch react-native-quick-actions

这里写图片描述

GitHub 地址:https://github.com/madriska/r...

评价:为App添彩的功能,但不是必须的

可滑动的日历组件 react-native-myCalendar

这里写图片描述

GitHub 地址:https://github.com/cqm1994617...

评价:demo 耦合性略高

可拖拽元素 react-native-gesture-recognizers

这里写图片描述

GitHub 地址:https://github.com/johanneslu...

评价:比较有趣的功能

下拉放大 react-native-parallax-view

这里写图片描述

GitHub 地址:https://github.com/lelandrich...

评价:这个功能适合带图片的详情页

简单图表 react-native-chart

这里写图片描述

GitHub 地址:https://github.com/tomauty/re...

评价:比较成熟的项目,放心使用

侧滑按钮 react-native-swipeout

这里写图片描述

GitHub 地址:https://github.com/dancormier...

评价:如果放在水平滚动的容器里会有BUG

抽屉功能 react-native-drawer

这里写图片描述

GitHub 地址:https://github.com/root-two/r...

评价:实际使用过,性能还不错,可放心使用

加载动画 react-native-spinkit

这里写图片描述

GitHub 地址:https://github.com/maxs15/rea...

评价:比较有趣的动画,为项目添彩

登录动画 react-native-login

这里写图片描述

GitHub 地址:https://github.com/brentvatne...

评价:动画为mp4格式

动画组件 react-native-animatable

这里写图片描述

GitHub 地址:https://github.com/oblador/re...

评价:为元素添加灵动感,比较实用

即时通讯

  • react-native-gifted-chat

这里写图片描述

GitHub 地址:https://github.com/FaridSafi/...

评价:支持发送位置和图片

  • react-native-imUI

这里写图片描述

GitHub 地址:https://github.com/Ice-MT/rea...

评价:从项目里抽取出来的demo,UI做的挺萌,有发送语音功能

精致的输入框 react-native-textinput-effects

这里写图片描述

GitHub 地址:https://github.com/halilb/rea...

评价:为项目添彩的功能

表单验证 react-native-gifted-form

这里写图片描述

GitHub 地址:https://github.com/FaridSafi/...

评价:比较实用,适合用在复杂的表单

UI组件库

  • NativeBase

这里写图片描述

github:https://github.com/GeekyAnts/...

在线文档:http://nativebase.io/docs/v0....

评价:组件比较多,不过设计风格一般

  • shoutem

这里写图片描述

团队github: https://github.com/shoutem

在线文档:http://shoutem.github.io/docs...

评价:组件丰富,设计风格酷炫、团队也比较牛逼

  • Teaset

这里写图片描述

github: https://github.com/rilyu/teaset

评价:国人作品,组件丰富,设计风格简约,比较适宜新手实用吧

  • react-native-material-design

这里写图片描述

GitHub 地址:https://github.com/react-nati...

评价:纯js编写,没有依赖,demo用的是Android

  • react-native-elements

这里写图片描述

github: https://github.com/react-nati...

在线文档:http://react-native-material-...

评价:ReactNative作者操刀领导的作品,值得拥有

  • react-native-ui-kitten

这里写图片描述

github: https://github.com/akveo/reac...

在线文档:https://akveo.github.io/react...

评价:一个酷炫简单的App组件Demo,适合新手学习


@参考:React Native 项目常用第三方组件汇总

欢迎关注我的个人博客 Jafeney

相关文章:

  • Linq to entity 执行多个字段排序的方法
  • maven学习:java编译插件与去除测试插件
  • 机器的自我进化
  • 取汉子拼音首字母的VB.Net方法
  • TP90 95 99指标
  • 阿里双十一大促,技术准备只做了这两件事情?
  • 很反感
  • 6410键盘应用程序的开发
  • String.format()的用法(C++ .net)
  • 车站——斐波那契(再做做)
  • Unity 编译 Android 的原理解析和 apk 打包分析
  • zabbix_agentd 服务启动
  • 12_03_Linux软件管理之三yum
  • MyEclipse下Maven的安装配置
  • python闭包与装饰器
  • 【面试系列】之二:关于js原型
  • axios 和 cookie 的那些事
  • canvas绘制圆角头像
  • Consul Config 使用Git做版本控制的实现
  • CSS魔法堂:Absolute Positioning就这个样
  • Java知识点总结(JavaIO-打印流)
  • Mybatis初体验
  • mysql 5.6 原生Online DDL解析
  • niucms就是以城市为分割单位,在上面 小区/乡村/同城论坛+58+团购
  • vue自定义指令实现v-tap插件
  • 关于Android中设置闹钟的相对比较完善的解决方案
  • 聚类分析——Kmeans
  • 力扣(LeetCode)22
  • 如何借助 NoSQL 提高 JPA 应用性能
  • 如何抓住下一波零售风口?看RPA玩转零售自动化
  • 入门到放弃node系列之Hello Word篇
  • 函数计算新功能-----支持C#函数
  • ​ 全球云科技基础设施:亚马逊云科技的海外服务器网络如何演进
  • ​Python 3 新特性:类型注解
  • (1)(1.11) SiK Radio v2(一)
  • (Git) gitignore基础使用
  • (NSDate) 时间 (time )比较
  • (pojstep1.1.1)poj 1298(直叙式模拟)
  • (ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY)讲解
  • (附源码)ssm基于web技术的医务志愿者管理系统 毕业设计 100910
  • (一)SpringBoot3---尚硅谷总结
  • (转)Groupon前传:从10个月的失败作品修改,1个月找到成功
  • (转)iOS字体
  • .NET开源项目介绍及资源推荐:数据持久层
  • .Net转Java自学之路—基础巩固篇十三(集合)
  • .project文件
  • ?.的用法
  • ??在JSP中,java和JavaScript如何交互?
  • @ModelAttribute 注解
  • @WebServiceClient注解,wsdlLocation 可配置
  • @基于大模型的旅游路线推荐方案
  • @在php中起什么作用?
  • [ CTF ] WriteUp- 2022年第三届“网鼎杯”网络安全大赛(朱雀组)
  • [ IO.File ] FileSystemWatcher
  • [100天算法】-x 的平方根(day 61)