|
|
|
|
|
by htormey
3500 days ago
|
|
My favorite thing about react/react native development is the unidirectional flow of data. Specifically I like how it gives you: 1) Deterministic View Renders
2) Deterministic State Reproduction I think the following article gives a good overview of why this is a good idea: https://medium.com/javascript-scene/10-tips-for-better-redux... Quoting from the article: "When your view render is isolated from network I/O and state updates, you can achieve a deterministic view render, meaning: given the same state, the view will always render the same output. It eliminates the possibility of problems such as race conditions from asynchronous stuff randomly wiping out bits of your view, or mutilating bits of your state as your view is in the process of rendering." ComponentKit is another example of a native library inspired by react (also developed by FB): http://componentkit.org/ |
|