Hacker News new | ask | show | jobs
by flwralex 2722 days ago
Hi, if you mean how to get rid of switch statements, you can check my comment bellow - about "action-reducer".

I've seen https://github.com/erikras/ducks-modular-redux and it's close to what I do.

Also you can check - https://github.com/reduxjs/redux/issues/1167#issuecomment-38...

1 comments

Thanks so much, I love the pattern in the second link you shared