Earlier quoted context omitted.
Sorry, that’s not making sense. In the MVC I am used to there’s only one controller active at one time and that controller owns the entire screen.
@arximboldi, I wouldn't use MVC for implementing something like Photoshop or and IDE, that's not the kind of application MVC is good for. MVC works well for applications that navigate through multiple screens.
How Redux Works: A Counter-Example
81–84 of 84 posts
Re: How Redux Works: A Counter-Example
#82Earlier quoted context omitted.
Agreed! Redux is cool but often overkill for basic CRUD apps, which the majority of JavaScript SPAs tend to be. My approach has been to take a long look at the app structure - if there's a way to refactor it to remove Redux (or what have you), that's probably the most sensible thing to do. Simple code > clever code where performance and maintainability are concerned. I wouldn't mind a use case where Redux would be ne…
Hey, this is a bit tangental but since you mention building enterprise SPAs I'll guess your experience will be able to help me. So, I'm not as experienced but can get around to learning any code and as I need to start building a portfolio I dove in again to build one. But things were breaking and I couldn't get rolling as fast I thought and although for a longer term bigger project I would spend the time tweaking I w…
https://github.com/kriasoft/react-starter-kit
Redux-friendly, too.
Re: How Redux Works: A Counter-Example
#83Switched our entire native app stack to a redux backend (Swift and Kotlin), never been happier. Sure there is more code in the end, but the decoupling and simplicity to use is just too good. Especially on iOS when you know how complex it is to maintain a controller hierarchy with a (now dead) dependency chain.
Did you use ReSwift and ReKotlin, or something else?
Re: How Redux Works: A Counter-Example
#84Earlier quoted context omitted.
Sorry, that’s not making sense. In the MVC I am used to there’s only one controller active at one time and that controller owns the entire screen.
In the original Smalltalk MVC pattern, every single element of the UI had its own model, view and controller. Since then a lot of different things have been called MVC..