txstate icon indicating copy to clipboard operation
txstate copied to clipboard

On top of my head / Minor issues

Open devanshj opened this issue 4 years ago • 0 comments

  • [ ] txstate right now assumes the machine definition is a literal, in case it's not like initial: Math.random() > 0.5 > "a" : "b" thing most probably will malfunction, so gotta do something about that
  • [ ] Make all custom error use A.CustomError
  • [ ] Transitions...
    • [ ] Support [{ target: "x" }, "y"] Edit: Ugh isn't this already supported? TODO: check
    • [ ] Disallow stupid stuff like
      • [ ] { target: [] }
      • [ ] [{ target: "a" /* no guard */ }, { target: "b" }]
      • [ ] internal: true for strictly external transitions
      • more...
  • [ ] When an required property is missing the errors are horrible, try showing custom errors for those cases too
  • [ ] Guarded recursion. Sometimes in an errored machine the recursion becomes infinite to prevent that we'll recurse with a fixed limit

devanshj avatar Jun 09 '21 11:06 devanshj