Re:UIs are not pure functions of the model (2018)
by acemarke on Monday July 04, 2022 @08:42PM
(#31983123)
> React is a child of the Flux architecture philosophy
FWIW, this isn't actually the case.
React was first announced in 2013:
- https://en.wikipedia.org/wiki/React_(JavaScript_library)
The "Flux Architecture" was first announced a year later, in 2014:
- https://youtu.be/nYkdrAPrdcw
React's original influences were things like Facebook's internal PHP-based UI definition layers:
https://reactjs.org/blog/2016/09/28/our-first-50000-stars.ht...
Re:UIs are not pure functions of the model (2018)
by wruza on Monday July 04, 2022 @08:12PM
(#31983010)
MVC examples in this article do not represent MVC in Cocoa. E.g. last time I checked cocoa tables were bound to array controllers, which controlled filtering, available actions etc. Not to bare models. Older-style cocoa mvc rendering was also based on the view<->controller connection, which may act as a “store” or do something more sophisticated, depending on what you write in delegate methods. These comparison graphs always involve some “head & shoulders” vs “grey regular shampoo” style narrative.
Re:UIs are not pure functions of the model (2018)
by mpweiher on Tuesday July 05, 2022 @07:48AM
(#31987049)
Well yes: Apple MVC also isn't really MVC. See:
https://blog.metaobject.com/2015/04/model-widget-controller-...
However, sufficiently MVC for the purposes of the post.
[1] http://fluxxor.com/what-is-flux.html
EDIT: I lied, React came first. Still, they have a lot of similarities, being developed by the same company.