2 ms·
> Even it’s own state management routines require you to think orthogonally to everything you know and used before What do you mean by this? I've really only u
by _fat_santa 5y ago
> Even it’s own state management routines require you to think orthogonally to everything you know and used before
What do you mean by this? I've really only used React in my career so I don't have a frame of reference. Are you just talking about having to keep immutable state?
- wruza 5y agoIt’s just too much to tell on a forum. You may start here https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CocoaBindings/CocoaBindings.html https://developer.apple.com/library/archive/documentation/Co... (it’s not really Apple specific, it just has good overview guides). If you want a quick answer, state lives apart from views and is controlled by either predefined or custom behavior. It also doesn’t have to be flat (which React endorses) and smeared over a hierarchy of tiny proxy “components” which cannot really live outside of that hierarchy. Also, cocoa way is not the only way, and React is compatible with other approaches, some of which react guys call “stores”.