Socket
Socket
Sign inDemoInstall

react-async-ssr

Package Overview
Dependencies
15
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous13Next

0.4.5

Diff

Changelog

Source

0.4.5

Features:

  • Call [ON_MOUNT] on promises

Other:

  • Tests: Refactor with expect extensions
overlookmotel
published 0.4.4 •

Changelog

Source

0.4.4

Bug fixes:

  • Prevent calling callback twice when NO_SSR promise thrown
overlookmotel
published 0.4.3 •

Changelog

Source

0.4.3

Other:

  • Fix Changelog for v0.4.2
overlookmotel
published 0.4.2 •

Changelog

Source

0.4.2

Other:

  • Changelog for v0.4.1
overlookmotel
published 0.4.1 •

Changelog

Source

0.4.1

Features:

  • fallbackFast option

Other:

  • Docs: README update
  • Tests: Trivial refactor
overlookmotel
published 0.4.0 •

Changelog

Source

0.4.0

Breaking changes:

  • Rename promise abort method from .abort to symbol [ABORT]

Features:

  • NO_SSR promise signal to prevent server rendering

Other:

  • Trivial refactors
overlookmotel
published 0.3.1 •

Changelog

Source

0.3.1

Bug fixes:

  • No hang on null fallback

Other:

  • Refactor PartialRenderer class into multiple files
overlookmotel
published 0.3.0 •

Changelog

Source

0.3.0

Breaking changes:

  • Reject when promise thrown outside Suspense
  • Rejection error when promise thrown outside Suspense
  • Continue rendering within suspense boundary once fallback triggered
  • Render fallbacks of nested Suspenses when suspend

Bug fixes:

  • Ignore Suspense with undefined fallback
  • Fix hang on promise rejection
  • Shimmed function components transmit this context

Dependencies:

  • Update react-dom dependency to 16.8.4

Other:

  • Remove undocumented lazy method
  • Render within a single thread
  • Tests for spacing in HTML output around fallbacks
  • Minor performance improvements
  • Major refactor
  • Update docs
overlookmotel
published 0.2.0 •

Changelog

Source

0.2.0

Breaking changes:

  • Stop rendering within Suspense boundary once fallback triggered
  • Promises thrown within a Suspense boundary whose fallback is triggered are not awaited

Features:

  • Support React hooks
  • Call .abort() on promise where result will not be rendered

Other:

  • Major refactor
overlookmotel
published 0.1.0 •

Changelog

Source

0.1.0

  • Initial release
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc