1fl 中文文档教程

发布于 3年前 浏览 22 更新于 3年前

Flareact

Flareact 是一个边缘渲染的 React 框架 由 Cloudflare Workers 提供支持。

部署到 Cloudflare Workers

它的灵感来自 Next.js

这意味着它支持不错的 API 模式,例如:

  • File-based routing
  • Dynamic page paths
  • Data fetching for page props using getEdgeProps
  • API routes
  • Universal application rendering (worker and client)

但是,它是全新的! 所以它也是一堆这样的东西:

  • It probably does not work on Windows
  • Missing years worth of optimizations the Next.js team has implemented

查看文档!

Flareact

Flareact is an edge-rendered React framework powered by Cloudflare Workers.

Deploy to Cloudflare Workers

It's inspired by Next.js.

That means it supports nice API patterns like:

  • File-based routing
  • Dynamic page paths
  • Data fetching for page props using getEdgeProps
  • API routes
  • Universal application rendering (worker and client)

However, it's brand new! So it's also a bunch of these things:

  • It probably does not work on Windows
  • Missing years worth of optimizations the Next.js team has implemented

Check out the docs!

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文