GoForum🌐 V2EX

除了 next.js,在 2026 年,还有哪些 React 全栈框架推荐?

yoa1q7y · 2026-01-31 13:12 · 0 次点赞 · 7 条回复

next.js 也不是说不好,但是总感觉有些臃肿 另外 ‘use client’、’use server’ 总感觉有点不标准

7 条回复
donaldturinglee · 2026-01-31 13:22
#1

那就还是老一套 MERN

rocmax · 2026-01-31 13:32
#2

当然是 tanstack start

rocmax · 2026-01-31 13:32
#3

有没有一种可能 use server use client 是 react 提供的指令,nextjs 才是 react 正统,其他的反而不标准?

ethusdt · 2026-01-31 13:42
#4

tanstack start query 很舒服,但 nextjs 才是正规实现 RSC ( react server component )

ethusdt · 2026-01-31 13:42
#5

tanstack ,mui ,biome ,supabase ,cf R2 ,drizzleorm ,better auth

这一套下来

xuld · 2026-01-31 13:47
#6

我现在正在开发新的全栈框架,最终用法如下:

render(<TextBox onChange={ handleChange } />, document.body)

async function handleChange(sender, e) {
	const text = sender.text
	const success = await runAtServer(async () => {
		// runAtServer 的代码由编译器负责抽离,实际是在后端运行
		// 引用的闭包变量 text 会自动从前端传过来
		// 函数返回值也会自动返回给前端
		return await db.from(User).where(r => r.id == 1).update({ text })
	})
	sender.text = success ? "保存成功" : "保存失败"
}

actopas · 2026-01-31 13:57
#7

nextjs 就是很重,但是没有生态更好的框架吧

添加回复
你还需要 登录 后发表回复

登录后可发帖和回复

登录 注册
主题信息
作者: yoa1q7y
发布: 2026-01-31
点赞: 0
回复: 0