by Marazan · 4y ago · 0 comments
React obliterated their world view and they simply could not cope.
I am using hyperbolic language but the "Anti-React" 'backlash' was truly mind boggling.
This makes testing simple as you can test the reducer without rendering any UI. The pure view components are also easy to test. Then a few end to end tests to tie everything together.
https://www.reactguide.dev/#mc-v-trees Has more info on how to scale the pattern for larger apps.
I had only seen these misunderstandings in talks (particularly the "cascading", which true MVC absolutely prevents), which are difficult to refer to, so thanks for the link!
As I wrote elsewhere[1] : "having to say "the problems of MVC are solved by MVC" is less than ideal, because, well, you sound a bit like a lunatic."
[1] https://blog.metaobject.com/2017/03/concept-shadowing-and-ca...
In my experience with React, it's a lot harder to keep things separated, and developers who I've worked with who have more React experience aren't always up on the concept.
This is not coping! It is speaking truth to deniers.
Still consider myself anti-react. It's a leaky abstraction.