Skip to content

state.toStrings() should be state.path? #1299

Answered by davidkpiano
NikitaIT asked this question in General
Discussion options

You must be logged in to vote

Because "path" is not accurate. A state doesn't have a single path; it is the combination of many state nodes (the state's "configuration"), each of which has a path. So if you want to rename it, it would be state.paths.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NikitaIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants