useStateMachineInput breaks in 4.19.0

Open
#355 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

Start by reproducing the TypeScript useStateMachineInput example with rive-react 4.17.8 and 4.19.0, then inspect the useStateMachineInput entry point and the change between those versions. Done means the shown call works on 4.19.0 with the expected state-machine input behavior.

Written by the indexing model from the issue text.

Description

triage

Hello hello,

  useStateMachineInput(
    rive,
    "GameInterfaceStateMachine",
    "NumberOfQuestions",
    numberOfQuestions,
  );

This works fine in 4.17.8 but breaks when updating to 4.19.0.

Dominant language
TypeScript
Stars
1.2k
Forks
58
Avg merge
3h 23m
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rive-app/rive-react

All issues in rive-app/rive-react

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.