rari 0.12.2

rari: Runtime Accelerated Rendering Infrastructure - A high-performance React Server Components framework powered by Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
(function () {
  if (!globalThis['~suspense'])
    globalThis['~suspense'] = {}
  if (!globalThis['~suspense'].promises)
    globalThis['~suspense'].promises = {}

  return {
    initialized: true,
    existingPromises: Object.keys(globalThis['~suspense'].promises || {}).length,
  }
})()