Hello, I am curious if it is possible to replace conditions like if with xstate?
I currently have a lot of nested conditions and they look complicated. I would like to rewrite them into declarative way, just to have everything in one place and to have a visualizer.
I have some input data, a lot of complicated-nested conditions, and finite final UI states.
In fact I do not have state transitions, just initial data -> logic -> ui components to show
Is it possible and it is worth to use xstate for such cases?