Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: A state management based on Behavior Trees for React and JavaScript (github.com/idered)
4 points by Idered on April 10, 2020 | hide | past | favorite | 1 comment


I like how this couples descriptions with actions and state. It seems like a friendlier version of Redux. One nitpick I have is the naming. I think `useBehavior` is more informative than `useTree` in the react examples. The same goes for the `node` and `tick` keywords. Maybe `behavior` and `evaluate` could be used instead?

Either way, thanks for creating and sharing!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: