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 / ProxyStateRefs

Type Alias: ProxyStateRefs<T>

ProxyStateRefs<T> = { [K in keyof T as K extends string ? `${K}Ref` : never]: ProxyStateRef<T[K]> }

Ref map generated by createProxyStates for each shared state key.

Type Parameters

T

T

Shared state object shape.