Taro 周報 2020.10.31 - 11.07 : Taro 發布 3.0.16 版本

2021-03-02 Taro社區
Taro 大事件—發布 3.0.16 版本修復小程序修復 React 中 App 組件的 componentWillMount 內無法獲取 onLaunch 參數的問題,by @hisanshao修復 Vue2 中 App 組件的 mounted 內無法獲取 onLaunch 參數的問題同步微信小程序 performance 相關 api,#7931同步微信小程序 chooseMedia api,#7954同步支付寶 ScrollView 組件的 scroll-animation-duration 和 trap-scroll 屬性,#7922修複列表順序變化時,部分列表項點擊事件失效的問題,#7227修復 Swiper 不能嵌套調用的問題,#7692修復 H5修復 ContentType 重複設置的問題,#7972開源中國投票進行中

開源中國 2020 年度開源項目評選進行中,感謝社區投票助力, Taro 排名大前端類 Top 3 ,掃碼為 Taro 貢獻者加票鼓勵~

掃碼為 Taro 加票收穫的案例—

AI 體驗中心[1] 來自 yun.zhao[2] 提交

歡迎大家提交案例(名稱 + 小程序碼/二維碼),和數萬開發小夥伴分享您的成果,它將出現在 Taro 文檔「案例」頁和 「Taro 社區」公眾號的周報中。

案例提交地址:https://github.com/NervJS/taro-user-cases[3]

ISSUES—

上周有 48 個新 issue, 其中 28 個 issue 已經被關閉,20 個 issue 仍然保持打開狀態。

OPEN ISSUES

🙋‍ #7997 textarea autoHeight屬性無效[4], by mingtianyihou33[5]

🙋‍ #7993 按官網方式全局注入 scss 後,並不能使用用全局的scss變量[6], by mingtianyihou33[7]

🙋‍ #7981 scrollView scrollIntoView 失效不滾動指定位置[8], by lilingling3[9]

🙋‍ #7980 如何使用自定義tabBar[10], by bundlejs[11]

🙋‍ #7975 [支付寶小程序]循環動畫沒有效果[12], by ModyQyW[13]

🙋‍ #7974 h5 頁面跳轉後,新的頁面沒有滾動到頁面頂部[14], by deng-yc[15]

🙋‍ #7970 (node:65397) UnhandledPromiseRejectionWarning: Error: 不存在編譯平臺 quickapp[16], by iooops[17]

🙋‍ #7967 Textarea 組件holdKeyboard 屬性安卓手機無效,蘋果手機可以[18], by wzl153401[19]

🙋‍ #7965 scrollview滾動卡頓[20], by WirelessSprucetec[21]

🙋‍ #7962 taro2.2.15編譯babel報錯[22], by zzzimooo[23]

🙋‍ #7961 Component is not found in path  [24], by BurnhamZhang[25]

🙋‍ #7957 fix(canvas-h5): canvas 同步 API canvasToTempFilePath 節點獲取問題[26], by Ininit[27]

🙋‍ #7956 chore(deps): bump sass-loader from 6.0.7 to 10.0.5[28], by dependabot-preview bot

🙋‍ #7953 希望將.npmrc中的https://r.cnpmjs.org/換為https://registry.npm.taobao.org/,國內可能會出現安裝依賴問題[29], by luvletterldl[30]

🙋‍ #7952 在App裡面用componentDidCatchError監聽不到頁面組件裡的錯誤[31], by laibao101[32]

🙋‍ #7951 關於eslint-loader沒有根據項目的.eslintrc配置來校驗[33], by xuya227939[34]

🙋‍ #7950 Nerv項目創建wxcloud模版中eslintrc配置項錯誤[35], by yangguo5062[36]

🙋‍ #7949 H5跟ant-desgin-mobile不兼容[37], by z782223468[38]

🙋‍ #7947 H5 React 通過setState改變頁面數據渲染,ScrollView會自動滾動到頂部[39], by SamChangi[40]

🙋‍ #7943 項目周報 (2020 年 10 月 24 日 - 2020 年 10 月 31 日)[41], by taro-bot2[bot][42]

CLOSED ISSUES

🛠 #7996 fix(component): 修復 Swiper 相關的問題[43], by ZakaryCode[44]

🛠 #7995 百度小程序授權button標籤下getUserInfo的回調無法拿到[45], by LiZheGuang[46]

🛠 #7994 Input清除輸入值:通過事件可以清除已經輸入的值[47], by weijunfu[48]

🛠 #7992 [3.1.0-beta.0],無法使用支付寶原生開放組件[49], by persist-xyz[50]

🛠 #7991 docs(guide vuex example): complete vuex example[51], by kuigoo[52]

🛠 #7983 chore(release): publish 3.0.16[53], by Chen-jj[54]

🛠 #7982 taro vue下百度小程序中調試工具中的APPDATA 出現了些奇怪的數據[55], by LiZheGuang[56]

🛠 #7979 fix(h5): 修復 h5 ContentType 重複設置的問題,fix #7972[57], by Chen-jj[58]

🛠 #7978 taro 構建是否支持node api[59], by gsbybb[60]

🛠 #7977 Remove contextualSearch in docusaurus.config.js[61], by DsCodeStudio[62]

🛠 #7976 taro 3.0 中使用swiper時,圖片追加問題[63], by wuyingyi[64]

🛠 #7973 h5 頁面跳轉後,新的頁面沒有滾動到頁面頂部[65], by deng-yc[66]

🛠 #7972 3.0.14升級到3.0.15,h5 taro-request設置post請求設置header的content-type出現重複導致請求不成功[67], by jiangchengzzz[68]

🛠 #7971 fix(shared): 修復 Swiper 不能嵌套調用的問題,fix #7692[69], by Chen-jj[70]

🛠 #7969 taro 3.0 中使用兩層swiper嵌套內層無dom問題[71], by wuyingyi[72]

🛠 #7968 fix(runtime): 修複列表順序變化時,部分列表項點擊事件失效的問題,fix #7227[73], by Chen-jj[74]

🛠 #7966 feat(taro/types): add environment property to getSystemInfo and getSy…[75], by ZeroTo0ne[76]

🛠 #7964 fix(runtime): 修復 vue2 獲取不到 onLaunch 參數的問題[77], by Chen-jj[78]

🛠 #7963 同步小程序屬性[79], by Chen-jj[80]

🛠 #7960 Taro-object[81], by Unclebull[82]

🛠 #7959 modal彈框滾動穿透問題[83], by lunaticYoung[84]

🛠 #7958 代碼邏輯在 Taro2 與 Taro3 中表現不一致[85], by HeiLiu[86]

🛠 #7955 請問Taro如何實現h5多頁打包[87], by hudingwen1989[88]

🛠 #7954 Taro Next 添加 chooseMedia[89], by guanjp[90]

🛠 #7948 H5跟ant-desgin-mobile不兼容[91], by z782223468[92]

🛠 #7946 Taro 2.2.15 微信小程序編譯正常但開發工具打開無法運行提示報錯:TypeError: Cannot assign to read only property Symbol (Symbol.toStringTag)of object Object[93], by polichan[94]

🛠 #7945 Swiper 組件增加對支付寶小程序 onAnimationEnd 事件屬性的支持[95], by b2nil[96]

🛠 #7944 fix(runtime): [react]修復getCurrentInstance().router無法獲取onLaunch參數的問題[97], by hisanshao[98]

PULL REQUESTS—

上周有 17 個 pull request 被創建、更新或 merge。

UPDATED PULL REQUEST

上周有 9 個 pull request 更新:

❤️ #7935 fix(isNumber): NaN和InFinity在樣式和JSON格式化時均不是有效值[99], by SyMind[100]

❤️ #7956 chore(deps): bump sass-loader from 6.0.7 to 10.0.5, by dependabot-preview bot

❤️ #7942 chore(deps): bump typescript from 3.9.7 to 4.0.5, by dependabot-preview bot

❤️ #7912 chore(deps): bump mini-css-extract-plugin from 0.8.0 to 1.2.0, by dependabot-preview bot

❤️ #7910 chore(deps-dev): bump @types/node from 12.12.62 to 14.14.2, by dependabot-preview bot

❤️ #7850 chore(deps): bump @babel/register from 7.9.0 to 7.12.1, by dependabot-preview bot

❤️ #7706 chore(deps-dev): bump @types/autoprefixer from 9.7.0 to 9.7.2, by dependabot-preview bot

❤️ #7704 chore(deps-dev): bump @types/resolve from 1.14.0 to 1.17.1, by dependabot-preview bot

❤️ #7397 chore(deps-dev): bump @types/detect-port from 1.1.0 to 1.3.0, by dependabot-preview bot

MERGED PULL REQUEST—

上周 merge 了 8 個 pull request:

💻 #7944 fix(runtime): [react]修復getCurrentInstance().router無法獲取onLaunch參數的問題[101], by hisanshao[102]

💻 #7933 fix(runtime): fix typo[103], by h-a-n-a[104]

💻 #7983 chore(release): publish 3.0.16[105], by Chen-jj[106]

💻 #7979 fix(h5): 修復 h5 ContentType 重複設置的問題,fix #7972[107], by Chen-jj[108]

💻 #7971 fix(shared): 修復 Swiper 不能嵌套調用的問題,fix #7692[109], by Chen-jj[110]

💻 #7968 fix(runtime): 修複列表順序變化時,部分列表項點擊事件失效的問題,fix #7227[111], by Chen-jj[112]

💻 #7964 fix(runtime): 修復 vue2 獲取不到 onLaunch 參數的問題[113], by Chen-jj[114]

💻 #7963 同步小程序屬性[115], by Chen-jj[116]

COMMITS—

上周共有 11 個提交:

🙏 feat(taro/types): add environment property to getSystemInfo and getSystemInfoSync method[117] by no name

🙏 chore(release): publish 3.0.16 (#7983)[118] by Chen-jj[119]

🙏 fix(h5): 修復 h5 ContentType 重複設置的問題,fix #7972[120] by Chen-jj[121]

🙏 fix(shared): 修復 Swiper 不能嵌套調用的問題,fix #7692 (#7971)[122] by Chen-jj[123]

🙏 fix(runtime): 修複列表順序變化時,部分列表項點擊事件失效的問題,fix #7227[124] by Chen-jj[125]

🙏 fix(runtime): 修復 vue2 在獲取不到 onLaunch 參數的問題[126] by Chen-jj[127]

🙏 fix(shared): 同步支付寶屬性,fix #7922[128] by Chen-jj[129]

🙏 fix(api): 同步微信小程序 chooseMedia api,fix #7954[130] by Chen-jj[131]

🙏 fix(api): 同步微信小程序 performance 相關 api,fix #7931[132] by Chen-jj[133]

🙏 fix(runtime): [react]修復小程序端App componentWillMount內使用getCurrentInstance().router無法獲取onLaunch參數的問題[134] by no name

🙏 fix(runtime): fix typo[135] by h-a-n-a[136]

CONTRIBUTORS—

上周共有 3 名貢獻者:

:bust_in_silhouette: Chen-jj[137] :bust_in_silhouette: h-a-n-a[138]:bust_in_silhouette: 三少

感謝你們對開源事業做出的貢獻。👍

以上就是本周的項目周報。你可以點擊 weekly-digest[139] 查看往期的項目周報。

參考資料[1] 

AI 體驗中心: https://github.com/NervJS/taro-user-cases/pull/99

[2] 

yun.zhao: https://github.com/178518

[3] 

https://github.com/NervJS/taro-user-cases: https://github.com/NervJS/taro-user-cases

[4] 

textarea autoHeight屬性無效: https://github.com/NervJS/taro/issues/7997

[5] 

mingtianyihou33: https://github.com/mingtianyihou33

[6] 

按官網方式全局注入 scss 後,並不能使用用全局的scss變量: https://github.com/NervJS/taro/issues/7993

[7] 

mingtianyihou33: https://github.com/mingtianyihou33

[8] 

scrollView scrollIntoView 失效不滾動指定位置: https://github.com/NervJS/taro/issues/7981

[9] 

lilingling3: https://github.com/lilingling3

[10] 

如何使用自定義tabBar: https://github.com/NervJS/taro/issues/7980

[11] 

bundlejs: https://github.com/bundlejs

[12] 

[支付寶小程序]循環動畫沒有效果: https://github.com/NervJS/taro/issues/7975

[13] 

ModyQyW: https://github.com/ModyQyW

[14] 

h5 頁面跳轉後,新的頁面沒有滾動到頁面頂部: https://github.com/NervJS/taro/issues/7974

[15] 

deng-yc: https://github.com/deng-yc

[16] 

(node:65397) UnhandledPromiseRejectionWarning: Error: 不存在編譯平臺 quickapp: https://github.com/NervJS/taro/issues/7970

[17] 

iooops: https://github.com/iooops

[18] 

Textarea 組件holdKeyboard 屬性安卓手機無效,蘋果手機可以: https://github.com/NervJS/taro/issues/7967

[19] 

wzl153401: https://github.com/wzl153401

[20] 

scrollview滾動卡頓: https://github.com/NervJS/taro/issues/7965

[21] 

WirelessSprucetec: https://github.com/WirelessSprucetec

[22] 

taro2.2.15編譯babel報錯: https://github.com/NervJS/taro/issues/7962

[23] 

zzzimooo: https://github.com/zzzimooo

[24] 

Component is not found in path : https://github.com/NervJS/taro/issues/7961

[25] 

BurnhamZhang: https://github.com/BurnhamZhang

[26] 

fix(canvas-h5): canvas 同步 API canvasToTempFilePath 節點獲取問題: https://github.com/NervJS/taro/pull/7957

[27] 

Ininit: https://github.com/Ininit

[28] 

chore(deps): bump sass-loader from 6.0.7 to 10.0.5: https://github.com/NervJS/taro/pull/7956

[29] 

希望將.npmrc中的https://r.cnpmjs.org/換為https://registry.npm.taobao.org/,國內可能會出現安裝依賴問題: https://github.com/NervJS/taro/issues/7953

[30] 

luvletterldl: https://github.com/luvletterldl

[31] 

在App裡面用componentDidCatchError監聽不到頁面組件裡的錯誤: https://github.com/NervJS/taro/issues/7952

[32] 

laibao101: https://github.com/laibao101

[33] 

關於eslint-loader沒有根據項目的.eslintrc配置來校驗: https://github.com/NervJS/taro/issues/7951

[34] 

xuya227939: https://github.com/xuya227939

[35] 

Nerv項目創建wxcloud模版中eslintrc配置項錯誤: https://github.com/NervJS/taro/issues/7950

[36] 

yangguo5062: https://github.com/yangguo5062

[37] 

H5跟ant-desgin-mobile不兼容: https://github.com/NervJS/taro/issues/7949

[38] 

z782223468: https://github.com/z782223468

[39] 

H5 React 通過setState改變頁面數據渲染,ScrollView會自動滾動到頂部: https://github.com/NervJS/taro/issues/7947

[40] 

SamChangi: https://github.com/SamChangi

[41] 

項目周報 (2020 年 10 月 24 日 - 2020 年 10 月 31 日): https://github.com/NervJS/taro/issues/7943

[42] 

taro-bot2[bot]: https://github.com/apps/taro-bot2

[43] 

fix(component): 修復 Swiper 相關的問題: https://github.com/NervJS/taro/pull/7996

[44] 

ZakaryCode: https://github.com/ZakaryCode

[45] 

百度小程序授權button標籤下getUserInfo的回調無法拿到: https://github.com/NervJS/taro/issues/7995

[46] 

LiZheGuang: https://github.com/LiZheGuang

[47] 

Input清除輸入值:通過事件可以清除已經輸入的值: https://github.com/NervJS/taro/issues/7994

[48] 

weijunfu: https://github.com/weijunfu

[49] 

[3.1.0-beta.0],無法使用支付寶原生開放組件: https://github.com/NervJS/taro/issues/7992

[50] 

persist-xyz: https://github.com/persist-xyz

[51] 

docs(guide vuex example): complete vuex example: https://github.com/NervJS/taro/pull/7991

[52] 

kuigoo: https://github.com/kuigoo

[53] 

chore(release): publish 3.0.16: https://github.com/NervJS/taro/pull/7983

[54] 

Chen-jj: https://github.com/Chen-jj

[55] 

taro vue下百度小程序中調試工具中的APPDATA 出現了些奇怪的數據: https://github.com/NervJS/taro/issues/7982

[56] 

LiZheGuang: https://github.com/LiZheGuang

[57] 

fix(h5): 修復 h5 ContentType 重複設置的問題,fix #7972: https://github.com/NervJS/taro/pull/7979

[58] 

Chen-jj: https://github.com/Chen-jj

[59] 

taro 構建是否支持node api: https://github.com/NervJS/taro/issues/7978

[60] 

gsbybb: https://github.com/gsbybb

[61] 

Remove contextualSearch in docusaurus.config.js: https://github.com/NervJS/taro/pull/7977

[62] 

DsCodeStudio: https://github.com/DsCodeStudio

[63] 

taro 3.0 中使用swiper時,圖片追加問題: https://github.com/NervJS/taro/issues/7976

[64] 

wuyingyi: https://github.com/wuyingyi

[65] 

h5 頁面跳轉後,新的頁面沒有滾動到頁面頂部: https://github.com/NervJS/taro/issues/7973

[66] 

deng-yc: https://github.com/deng-yc

[67] 

3.0.14升級到3.0.15,h5 taro-request設置post請求設置header的content-type出現重複導致請求不成功: https://github.com/NervJS/taro/issues/7972

[68] 

jiangchengzzz: https://github.com/jiangchengzzz

[69] 

fix(shared): 修復 Swiper 不能嵌套調用的問題,fix #7692: https://github.com/NervJS/taro/pull/7971

[70] 

Chen-jj: https://github.com/Chen-jj

[71] 

taro 3.0 中使用兩層swiper嵌套內層無dom問題: https://github.com/NervJS/taro/issues/7969

[72] 

wuyingyi: https://github.com/wuyingyi

[73] 

fix(runtime): 修複列表順序變化時,部分列表項點擊事件失效的問題,fix #7227: https://github.com/NervJS/taro/pull/7968

[74] 

Chen-jj: https://github.com/Chen-jj

[75] 

feat(taro/types): add environment property to getSystemInfo and getSy…: https://github.com/NervJS/taro/pull/7966

[76] 

ZeroTo0ne: https://github.com/ZeroTo0ne

[77] 

fix(runtime): 修復 vue2 獲取不到 onLaunch 參數的問題: https://github.com/NervJS/taro/pull/7964

[78] 

Chen-jj: https://github.com/Chen-jj

[79] 

同步小程序屬性: https://github.com/NervJS/taro/pull/7963

[80] 

Chen-jj: https://github.com/Chen-jj

[81] 

Taro-object: https://github.com/NervJS/taro/issues/7960

[82] 

Unclebull: https://github.com/Unclebull

[83] 

modal彈框滾動穿透問題: https://github.com/NervJS/taro/issues/7959

[84] 

lunaticYoung: https://github.com/lunaticYoung

[85] 

代碼邏輯在 Taro2 與 Taro3 中表現不一致: https://github.com/NervJS/taro/issues/7958

[86] 

HeiLiu: https://github.com/HeiLiu

[87] 

請問Taro如何實現h5多頁打包: https://github.com/NervJS/taro/issues/7955

[88] 

hudingwen1989: https://github.com/hudingwen1989

[89] 

Taro Next 添加 chooseMedia: https://github.com/NervJS/taro/issues/7954

[90] 

guanjp: https://github.com/guanjp

[91] 

H5跟ant-desgin-mobile不兼容: https://github.com/NervJS/taro/issues/7948

[92] 

z782223468: https://github.com/z782223468

[93] 

Taro 2.2.15 微信小程序編譯正常但開發工具打開無法運行提示報錯:TypeError: Cannot assign to read only property Symbol (Symbol.toStringTag)of object Object: https://github.com/NervJS/taro/issues/7946

[94] 

polichan: https://github.com/polichan

[95] 

Swiper 組件增加對支付寶小程序 onAnimationEnd 事件屬性的支持: https://github.com/NervJS/taro/issues/7945

[96] 

b2nil: https://github.com/b2nil

[97] 

fix(runtime): [react]修復getCurrentInstance().router無法獲取onLaunch參數的問題: https://github.com/NervJS/taro/pull/7944

[98] 

hisanshao: https://github.com/hisanshao

[99] 

fix(isNumber): NaN和InFinity在樣式和JSON格式化時均不是有效值: https://github.com/NervJS/taro/pull/7935

[100] 

SyMind: https://github.com/SyMind

[101] 

fix(runtime): [react]修復getCurrentInstance().router無法獲取onLaunch參數的問題: https://github.com/NervJS/taro/pull/7944

[102] 

hisanshao: https://github.com/hisanshao

[103] 

fix(runtime): fix typo: https://github.com/NervJS/taro/pull/7933

[104] 

h-a-n-a: https://github.com/h-a-n-a

[105] 

chore(release): publish 3.0.16: https://github.com/NervJS/taro/pull/7983

[106] 

Chen-jj: https://github.com/Chen-jj

[107] 

fix(h5): 修復 h5 ContentType 重複設置的問題,fix #7972: https://github.com/NervJS/taro/pull/7979

[108] 

Chen-jj: https://github.com/Chen-jj

[109] 

fix(shared): 修復 Swiper 不能嵌套調用的問題,fix #7692: https://github.com/NervJS/taro/pull/7971

[110] 

Chen-jj: https://github.com/Chen-jj

[111] 

fix(runtime): 修複列表順序變化時,部分列表項點擊事件失效的問題,fix #7227: https://github.com/NervJS/taro/pull/7968

[112] 

Chen-jj: https://github.com/Chen-jj

[113] 

fix(runtime): 修復 vue2 獲取不到 onLaunch 參數的問題: https://github.com/NervJS/taro/pull/7964

[114] 

Chen-jj: https://github.com/Chen-jj

[115] 

同步小程序屬性: https://github.com/NervJS/taro/pull/7963

[116] 

Chen-jj: https://github.com/Chen-jj

[117] 

feat(taro/types): add environment property to getSystemInfo and getSystemInfoSync method: https://github.com/NervJS/taro/commit/29091367b99c893071eaa7ad5d4729fbb7df041d

[118] 

chore(release): publish 3.0.16 (#7983): https://github.com/NervJS/taro/commit/8d9d3c1e60a75b24ce7b5142c4b5dbc290c432d1

[119] 

Chen-jj: https://github.com/Chen-jj

[120] 

fix(h5): 修復 h5 ContentType 重複設置的問題,fix #7972: https://github.com/NervJS/taro/commit/3dc07ac6e0bc6e7ff285185a426c09c2740b7b16

[121] 

Chen-jj: https://github.com/Chen-jj

[122] 

fix(shared): 修復 Swiper 不能嵌套調用的問題,fix #7692 (#7971): https://github.com/NervJS/taro/commit/4f12112e2e3a97869b039b9b137ff520aa1b5a96

[123] 

Chen-jj: https://github.com/Chen-jj

[124] 

fix(runtime): 修複列表順序變化時,部分列表項點擊事件失效的問題,fix #7227: https://github.com/NervJS/taro/commit/817ac153a9d9731372cc8e981f2cc1f6676a5a7f

[125] 

Chen-jj: https://github.com/Chen-jj

[126] 

fix(runtime): 修復 vue2 在獲取不到 onLaunch 參數的問題: https://github.com/NervJS/taro/commit/b0caa0ebce27aa035c227c219bae0e30c86783da

[127] 

Chen-jj: https://github.com/Chen-jj

[128] 

fix(shared): 同步支付寶屬性,fix #7922: https://github.com/NervJS/taro/commit/4f64b7136fe34b14ecc53d8a91459f348a3c876a

[129] 

Chen-jj: https://github.com/Chen-jj

[130] 

fix(api): 同步微信小程序 chooseMedia api,fix #7954: https://github.com/NervJS/taro/commit/7d3490bb3cb62856c0a42deabae7917e077a8e42

[131] 

Chen-jj: https://github.com/Chen-jj

[132] 

fix(api): 同步微信小程序 performance 相關 api,fix #7931: https://github.com/NervJS/taro/commit/b463abffba54e847aee7b6b75dbb160768877a25

[133] 

Chen-jj: https://github.com/Chen-jj

[134] 

fix(runtime): [react]修復小程序端App componentWillMount內使用getCurrentInstance().router無法獲取onLaunch參數的問題: https://github.com/NervJS/taro/commit/d37b3c8ee9e2a54909a0acf926e75966b620f1bd

[135] 

fix(runtime): fix typo: https://github.com/NervJS/taro/commit/9393072731150126d7beccdac932d3333671ae17

[136] 

h-a-n-a: https://github.com/h-a-n-a

[137] 

Chen-jj: https://github.com/Chen-jj

[138] 

h-a-n-a: https://github.com/h-a-n-a

[139] 

weekly-digest: https://github.com/NervJS/taro/issues?q=is%3Aissue+label%3Aweekly-digest

相關焦點

  • Taro 周報 #7: 發布 3.0.20,支持使用 CustomWrapper 組件,解決低端機層級過深卡頓問題
    Taro 周報 2020 年 12 月 13 日 - 2020 年 12 月 19 日 ,更多的 Taro 周報點擊Taro 大事件—Taro 3 發布 3.0.19 和 3.0.203.0.19 為 View、Text、Image 組件做優化,當沒有綁定任何事件時能使用簡化模板,不去綁定冗餘屬性
  • Taro 如何開始微信小程序的開發
    /cli創建項目taro init my-app輸出信息:👽 Taro v3.0.16Taro 即將創建一個新項目!> my-app@1.0.0 build:weapp /Users/ikuokuo/start-taro/my-app> taro build --type weapp "--watch"👽 Taro v3.0.16Tips: 預覽模式生成的文件較大,設置 NODE_ENV 為 production 可以開啟壓縮。
  • Taro跨端開發之讓Taro UI支持React Native
    /dist/index');module.exports.default = module.exports組件庫打包與發布小程序與h5端的組件庫還是按照原來的打包與發布模式.但是rn端的話,需要在發布的時候修改一下package.json內容.
  • taro+react仿微信聊天App實例|taro聊天室
    /taro'import Index from '.◆ taro中表單驗證/狀態管理/存儲設置如何在taro中獲取表單input值並進行驗證,taro中提供了onInput事件<Input placeholder="請輸入手機號/暱稱" onInput={this.handleInput.bind
  • 首個多端 UI 組件庫 - Taro UI 發布
    前言Taro一步一步的在布生態。
  • Taro-UI-Vue 邀你嘗鮮,期待你的參與!
    在前不久 Taro 發布了 3.0,擁有了對 vue 語法的支持,對Vue開發者來說算是福音了,使用非常簡單。然後就可以開始你的taro之旅了。Taro-UI-Vue—Taro-UI-Vue 主要參考 Taro UI 的實現,復用了其樣式文件,寫成vue組件,配合 Taro3.0 的 vue 寫法,擁有 50+ 組件,讓 vue 開發者擁有更多的選擇。豐富的組件
  • 非常詳細的Taro入門教程
    在終端輸入命令 npm i -g @tarojs/cli 安裝 Taro CLI。Taro CLI 依賴於 Node.js 環境(>=8.0.0)。框架項目目錄結構定義多端組件-test--test.js // Test組件默認的形式,編譯到微信小程序和H5之外的端--test.h5.js // Test 組件的 H5 版本--test.weapp.js // Test 組件的 微信小程序 版本// 2. 引用組件import Test from '../..
  • 一杯茶的時間,上手 Taro 京東小程序開發
    /taro-jd安裝好之後,我們還需要在 package.json 中添加如下兩條開啟京東小程序項目的腳本:{  "name": "jd-mp",  "version": "1.0.0",  "private": true,  "description
  • Taro 支持使用 Vue3 開發小程序
    前言—9 月 19 日凌晨,Vue3 在經過多個開發版本的迭代後,終於迎來了它的正式版本,"One Piece" 的代號也昭示了其開拓偉大航路的野心。3.Fragments(碎片)Vue2.x 版本中,<template /> 標籤下不支持放置多個組件,這個限制在 Vue3 中不再存在。這點比較好理解,下述組件設計在 Vue3 中是沒有問題的:<!
  • Taro 1.1 全面支持微信/百度/支付寶小程序了!
    上個月,Taro 正式發布了 1.0 版本。
  • Taro 3.2 適配 React Native 之樣式內幕
    3.2 三月底將迎來正式版的發布,技術講解文章也在緊鑼密鼓的進行著。Taro3.2 適配 React Native 文章系列上篇講到運行時架構詳解 ,本文將給大家帶來樣式的適配內幕。從 Taro 3 開始,58同城成為 Taro 的戰略合作夥伴,負責 Taro 3 React Native 部分的研發和推廣。
  • Taro3.2 適配 React Native 之運行時架構詳解
    目前發布了多個體驗版,也將在3月底迎來正式版。基於 Taro 的良好架構演變,適配 React Native 的方案的也做了較大調整,本文將主要介紹 Taro 3 適配 React Native 運行時相關的詳細設計與實現。
  • 小程序第三方框架對比 ( wepy / mpvue / taro )
    第三方框架對比 wepy mpvue taro在這裡我通過對目前已開源的三種常用小程序框架做一個綜合對比, 還有一個叫nanchi的基於react的小程序轉譯框架,由於沒來的及研究暫不做比較。WePY發布的第一個版本是2016年12月份,也就是小程序剛剛推出的時候,到目前為止,WePY已經發布了52個版本, 最新版本為1.7.2;MpVue   mpvue.com/mpvue/#-html美團團隊開源的一款使用 Vue.js 開發微信小程序的前端框架。
  • 京東小程序 Taro 開發對比原生開發測評
    Taro 自 1.3.20 版本開始支持轉換為京東小程序,受到了很多同學的關注。當中有歡呼雀躍的聲音:「一鍵轉換為京東小程序,終於可以準時下班啦」。也有對 Taro 不太了解的同學提出了一些疑問:「轉換的效果如何?」、「轉換後代碼的性能是否達標?」等等。
  • 反盜版公司要求谷歌屏蔽 127.0.0.1;微軟官方發布首個Win 11 ISO鏡像;IE瀏覽器的淘汰進入最後階段 | 前端周報
    2021 年 5 月,微軟正式宣布了 IE 11 的退役時間為 2022 年 6 月 15 日,屆時 Windows 10 也將把 IE11 替換為基於 Chromium 的 Microsoft Edge。並且隨即發布了首個沒有 IE 瀏覽器的 Windows 10 版。
  • 跨端開發框架深度橫評之2020版
    taro 在穩定版的基礎之上,最近也推出了  taro next ,這2個版本差異較大,本次會分別評測。 kbone  框架雖面世不久,但畢竟是微信官方發布,關注的人不少,故本次將  kbone  加入評測目標。
  • Taro多端開發的正確姿勢:打造三端統一的網易嚴選(小程序、H5、React Native)
    趣店 FED 早在去年 10 月份就已全面使用 Taro 框架開發小程序(當時版本為 1.1.0-beta.4),至今也上線了 2 個微信小程序、2 個支付寶小程序。之所以選用 Taro,解決微信小程序原生開發的痛點是一方面,另一方麵團隊也有多端統一開發的訴求,Taro 無疑是當時支持最好的。
  • 如何使用Taro開發快應用
    2.主工程(基礎包)可看作為組件庫(所有公共模塊都由主工程包裝)3.項目發布統一通過主工程做自動化打包操作,集成測試和發布如何保障各子模塊能夠單獨運行,以及主工程能夠穩定集成呢?1.首先統一了項目開發腳手架,減少了各個項目間溝通問題。
  • 微軟:Windows 10X已死;七年來最大更新:Android 12 Beta版本發布;微信「炸一炸」功能引熱議 | 前端周報
    歡迎關注【前端之巔】微信公眾號(ID: frontshow),及時獲取前端周報內容。近日,微軟官方宣布,其將不再計劃發布 Windows 10X 系統,這一信息是在微軟宣布推出新的 Windows 10 21H1 更新的博文中披露的。