Skip to content

React SDK missing useProcedure hook and procedures accessor map #4751

@DexterKoelson

Description

@DexterKoelson

The React SDK provides useReducer and useTable hooks but has no equivalent useProcedure hook. Additionally, the TypeScript codegen emits export const reducers = __convertToAccessorMap(...) but does not do the same for procedures, so there is no way to get individual procedure definitions to pass to a hook.

React users who want to call procedures have to reach into getConnection().procedures directly, losing the connection-queuing behavior and ergonomic pattern that useReducer provides.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions