封装 React Native 原生组件(iOS / Android)

时间:2022-01-15 07:01:39

封装 React Native 原生组件(iOS / Android)

在 React Native中,有很多种丰富的组件了,例如 ScrollView、FlatList、SectionList、Button、Text、Image等;

常用的组件已经可以帮助我们实现并满足日常开发中所遇到的功能需求;

但是产品经理突发奇想还是会提出各种“新奇”的功能;

一些复杂的界面实现,在RN层面变得异常棘手,所以需要我们从原生层去组建View,在RN中完成渲染;

https://github.com/facebook/react-native

https://reactnative.dev/docs/native-components-ios.html

https://reactnative.dev/docs/native-components-android.html

Android

https://blog.csdn.net/u013718120/article/details/79978723

https://blog.csdn.net/sbsujjbcy/article/details/49995407

https://blog.csdn.net/sbsujjbcy/article/details/49953041

iOS

https://www.jianshu.com/p/e16c91acce03

https://www.jianshu.com/p/9d7dbf17daa5

https://www.jianshu.com/p/b3351cf4ad02

https://github.com/shibiaoz/blog/wiki/如何封装原生组件?

https://github.com/crazycodeboy/RNStudyNotes/blob/master/React Native原生组件开发/RN%2BAndroid 原生组件开发.md

封装 React Native 原生组件(iOS / Android)

Micro Services

微前端

https://ice.work/scaffold

https://ice.work/docs/icestark/about

React Native

https://github.com/xgqfrms/React-Native

https://github.com/xgqfrms/React-Native-in-Action/