#How to decide between useState, useReducer and XState is still a thing in v5?

1 messages · Page 1 of 1 (latest)

winged wave
#

The XState description in Github says “Actor-based state management & orchestration for complex app logic”
Is still using multiple useReducer more easy than multiple actors?

ripe valley
#

I think it's even easier to use XState. You can write code almost equivalent to useReducer, with the benefit of passing the actor object around