jamesplease / jamesplease/hsm.js

Add initialState option

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
12
Forks
0
PR merge metrics
No merged PRs in 30d

Description

It starts off in an `undefined` state, which is just the root state from the perspective of a transition diff. It should give you the option to pass an initial state.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the state-machine construction entry point and the code that computes transition diffs, then inspect existing tests if present. Done means callers can provide an initial state and the first transition diff uses it instead of the undefined root state.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.