FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/react / WindowStateRef

Type Alias: WindowStateRef<T>

WindowStateRef<T> = Readonly<{ current: T; }>

Ref object exposed by createWindowStates for reading the latest shared state value.

Type Parameters

T

T

Shared state value type.