Implemented a (#xstate compatible) custom state machine+reducer combination for a #React app and finally it worked out.
1st app (~1 year ago) -> complete failure, I deleted everything
2nd app (~6 months ago) -> codebase got more confusing and harder to maintain but running
3rd app -> I could solve exactly the issues I hoped I could, the app runs much better and its easier to improve & add new features
Should also be easy to reuse when another app could benefit from it.