3 ms·
Is it correct to say that SwiftUI seems to be inspired by or similar to React architecture?
by dreamer7 7y ago
Is it correct to say that SwiftUI seems to be inspired by or similar to React architecture?
- ericlewis 7y agoMore like Elm.
- jamil7 7y agoIn what way is it more like Elm? Elm has a single global update function and model that must be passed a message in order to change state. SwiftUI view state can be mutated directly and it enforces no other architecture choices there, you can use whatever you like.
- tebbers 7y agoI believe so (speaking as a React developer for the last few years). I'm sure a few people at Apple have looked longingly at React Native and the concepts there.
- 5cott0 7y agoIt does appear somewhat similar to React but the functional reactive programming influence is much more prevalent. https://github.com/CombineCommunity/rxswift-to-combine-cheatsheet https://github.com/CombineCommunity/rxswift-to-combine-cheat...