Pareto is a React SSR framework based on rspack, dedicated to making your use of streaming rendering simple. It doesn't have many complex encapsulations, essentially it's just a simple wrapper for React SSR applications.
Pareto is designed as a streamlined MPA
architecture,
so it might be more suitable for those who need to develop embedded web pages in mobile webviews.
We considered many performance optimization factors from the beginning of the design, and combined it with
streaming rendering. For example:
react-helmet-async
: Pareto has built-in support for metadata, which will be sent to the browser at the beginning
of the request.Next.js
or Remix
, we start sending static resources
immediately at the beginning of the request. This helps improve performance metrics.Pareto directly supports react19 and above
Pareto also supports React 18, but since use hook is not exposed in React 18, you need to use the use function exported from Pareto when you enable the streaming rendering feature.
Pareto does not directly support React 17, as making it compatible is quite complex. However, streaming rendering can be enabled in any version after React 16.8. I've provided an rough example here that accomplishes this. If you're using a version lower than React 18, you might consider referring to this example to integrate streaming rendering into your project.