Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-ssr-prepass

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-ssr-prepass

A custom partial React SSR renderer for prefetching and suspense

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
81K
decreased by-3.88%
Maintainers
1
Weekly downloads
 
Created
Source

react-ssr-prepass 🌲

react-ssr-prepass is a partial server-side React renderer that is meant to do a prepass on a React tree and await all suspended promises. It also accepts a visitor function that can be used to await on custom promises.

It's meant to be used for fetching data before executing renderToString or renderToNodeStream and provides a crude way to support suspense during SSR today. ✨

⚠️ Disclaimer: Suspense is unstable and experimental. Its API may change and hence this library may break. Awaiting promises is only part of the story and does not mean that any data will be rehydrated on the client automatically. There be dragons!

FAQs

Package last updated on 14 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc