weeshin
V2EX  ›  微信

巨佬们求教现在(2025 年)用 React 来做微信小程序有什么技术路径选择吗?

  •  
  •   weeshin · Mar 17, 2025 · 2070 views
    This topic created in 607 days ago, the information mentioned may be changed or developed.

    本人之前做 Next 一把梭,想快速上线一个小程序 MVP ,我研究了一下,主要有以下几种选择:

    • Taro
    • 使用 Babel 转译为 WXML
    • 在小程序中通过 <web-view> 组件加载 H5

    请教下上面几种方案哪种可以快速上线而且坑不多😂? 此外还有别的方案选择吗?

    谢谢大佬们🙏

    2 replies  •  2025-03-18 12:29:28 +08:00
    vlink
    vlink
    Mar 17, 2025
    1
    Taro 可以的。你用 H5 的话很多微信的能力只能通过 JSBridage 实现,体验不如直接用 Taro 。
    weeshin
    weeshin
    OP
    Mar 18, 2025
    2
    @vlink 十分感谢🤜
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2096 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 04:52 · PVG 12:52 · LAX 20:52 · JFK 23:52
    ♥ Do have faith in what you're doing.