選擇標(biāo)準(zhǔn):star較多(經(jīng)過了驗證),更新較活躍(很久沒更新的一般不用),另外就是沒有deparated,在維護(hù)狀態(tài)
導(dǎo)航和路由
這個一般是通過react navigation stack來實現(xiàn)的,具體接入方法可參考官網(wǎng):https://reactnavigation.org/docs/getting-startedmd5
很多時候我們需要驗證字符串是否一樣,用md5是最合適的方式,我目前用的這個:https://github.com/blueimp/JavaScript-MD5 還比較好用slider
官方不支持slider組件,這樣要在一個區(qū)間里選擇一個數(shù)值只能借助社區(qū)庫,我使用的 https://github.com/react-native-community/react-native-slider漸變
漸變效果也是很常用的應(yīng)用效果,這里我們使用 https://github.com/react-native-community/react-native-linear-gradient國際化
獲取用戶本地語言設(shè)置等:react native locale, https://github.com/zoontek/react-native-localize
本地多語言:i18n-js https://github.com/fnando/i18n-js廣告接入
react-native-admob: https://github.com/sbugert/react-native-admob內(nèi)購
react-native-iap 擬采用這個,https://github.com/dooboolab/react-native-iap,尚未驗證上報
接友盟,https://developer.umeng.com/docs/66632/detail/67587,這個文檔比較簡略,還在研究中
一些其他的
debugger工具
rndebugger,https://github.com/jhen0409/react-native-debugger/blob/master/docs/getting-started.md代碼檢查
eslint代碼規(guī)范
typescript, prettier等路徑簡化
babel-plugin-root-import https://github.com/entwicklerstube/babel-plugin-root-import全局共享
react-redux