|
|
|
|
|
by thrashh
1208 days ago
|
|
If those two pieces of code do different things, it’s a bad library plain and simple lol. I’ve implemented this pattern with mobx and those two pieces of code are equivalent. In my opinion: - Unidirectional data flow patterns prevent a class of problems junior developers tend to make but require much deeper discipline to keep the app understandable - Conventional bi-directional data flow patterns are susceptible to junior developer mistakes but generally are hard to make unreadable |
|