V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
yedra
V2EX  ›  问与答

React Server Component 在组件中直接调用 DB 怎么感觉这么别扭呢

  •  
  •   yedra · Jan 30, 2024 · 931 views
  •   You need to sign in to view this topic
    This topic created in 820 days ago, the information mentioned may be changed or developed.

    我看到 NextJS 的 App Router 目前推荐这种方式;

    但如果前端不止有 Web ,还有 iOS/Android App ,后端岂不是没法复用了?

    1 replies    2024-01-30 15:20:19 +08:00
    8X96ZltB8D7WggD7
        1
    8X96ZltB8D7WggD7  
       Jan 30, 2024
    很别扭,但是符合 vercel 的商业利益
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5706 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 01:59 · PVG 09:59 · LAX 18:59 · JFK 21:59
    ♥ Do have faith in what you're doing.