Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ReSwiftでアプリの状態管理のスライドを見てReSwiftなるものがあると知り面白そうだったので使ってみました 当方、JSあまり触ったことがなく、FluxもReduxもよくわからん状態でReSwiftの実装を見て説明しているだけなので間違いなどあればご指摘ください Reduxとは ReduxはJavaScripアプリケーションのための予測可能な状態コンテナです Reduxは3原則に則って状態変化の流れを制限することで、複雑状態の管理を可能にします Reduxの3原則 Single source of truth(ソースは1つだけ)
概要 近頃、ReactiveのSwiftライブラリが沢山登場しています。 全部勉強してみて肌感掴んでおこうと思い、 下記の機能で同じアプリを作ってみて比較してみようと思いました。 https://github.com/naoto0822/try-reactive-swift 機能 APIリクエスト UITableViewで表示 引っ張って更新 (UIrefreshControl) スクロールでページング タップで詳細画面表示(SFSafariViewController) 今回は下記の3つでそれぞれ作ってみます。 RxSwift ReSwift SwiftBond Githubに公開してあります。 書き方がおかしかったり、上の機能が網羅できてないprojもあるので、ぜひPRお願いします。 https://github.com/naoto0822/try-reactive-swift それぞ
ReSwift is a Redux-like implementation of the unidirectional data flow architecture in Swift. ReSwift helps you to separate three important concerns of your app's components: State: in a ReSwift app the entire app state is explicitly stored in a data structure. This helps avoid complicated state management code, enables better debugging and has many, many more benefits... Views: in a ReSwift app y
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く