One way data flow
Why¶
- Performance
- 2 way: constantly check to see if the view and the model are diff (slow)
- only change what and when you need to
- (analogy: stop motion photography)
- easier debugging
- 2 way: too many things are changing the model, hard to isolate
- redux: time travel debugging
Last update:
2023-04-24