1fl 中文文档教程
Flareact 是一个边缘渲染的 React 框架 由 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 is an edge-rendered React framework powered by 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