react-meets-swiftui
react-meets-swiftui copied to clipboard
common react design patterns implemented in swiftui
React Meets SwiftUI
I'm looking to learn SwiftUI over the coming weeks and will be using this repository to record various common React design patterns implemented in SwiftUI. If you're a React developer interested in learning Swift UI, this might be a good place for you to start. You can also read the introductory blog post below.
An Introduction to SwiftUI for React Developers
Examples
- Managing State
- Using Context
- Using Children
- Mounting and Unmounting Callbacks
- Emulating CloneElement
- Redux (Binding to External Stores)
- Button Variants
- API Requests
- Conditional Rendering with Optional Values
- Basic Layouts
Todo
- Async Image (loading from URL)
- Responsive layouts
- Firebase
- Packages
- Gestures
- Animation