ReSwift CocoaHeads Tricity

TIME TRAVELING WITH
RESWIFT
ELIASZ SAWICKI @ELISAWIC
REDUX
Dan Abramov
UNIDIRECTIONAL
DATA FLOW
REDUX
MAIN ELEMENTS
▸ State
▸ Actions
▸ Reducers
▸ Store
STATE
ACTION
REDUCER
ReSwift CocoaHeads Tricity
STORE
ReSwift CocoaHeads Tricity
RESWIFT
REMEMBER
▸ Keep reducers fast
▸ No side effects in reducers
▸ Avoid heavy application state
▸ One way of changing state
RESWIFT
WHY?
▸ One way to change state
▸ Easy to understand what is going on
▸ Easy testing
▸ DevTools - Time travelling, Hot reloading
▸ Fixing bugs with friends
RESWIFT
WHY NOT?
▸ Daunting
▸ Boilerplate
▸ Many ReSwift components are in POC state
▸ Easy to get stuck
DEVTOOLS
CREDITS
CHECK THEM OUT!
▸ Karl Bowden - @karlbowden
▸ Benjamin Encz - @benjaminencz
▸ Aleksander Rendtslev - @ARendtslev
▸ Dan Abramov - @dan_abramov
RESOURCES
CHECK THESE OUT!
▸ https://karlbowden.com/reswift-prezzo/
▸ https://realm.io/news/benji-encz-unidirectional-data-flow-
swift/
▸ https://github.com/reactjs/redux
▸ https://github.com/ReSwift/ReSwift
▸ http://eluss.github.io/
1 of 16

More Related Content

More from Eliasz Sawicki(13)

Redux - 4DevelopersRedux - 4Developers
Redux - 4Developers
Eliasz Sawicki130 views
Eliasz sawickimeetupitEliasz sawickimeetupit
Eliasz sawickimeetupit
Eliasz Sawicki110 views
Developing more in less timeDeveloping more in less time
Developing more in less time
Eliasz Sawicki138 views
Tech festTech fest
Tech fest
Eliasz Sawicki289 views
Introduction to react nativeIntroduction to react native
Introduction to react native
Eliasz Sawicki481 views
Doing more in less time - MobiconfDoing more in less time - Mobiconf
Doing more in less time - Mobiconf
Eliasz Sawicki390 views
iOSConiOSCon
iOSCon
Eliasz Sawicki455 views
Code europeCode europe
Code europe
Eliasz Sawicki549 views
Time traveling with ReSwiftTime traveling with ReSwift
Time traveling with ReSwift
Eliasz Sawicki633 views
CalabashCalabash
Calabash
Eliasz Sawicki435 views
ReactiveCocoa workshopReactiveCocoa workshop
ReactiveCocoa workshop
Eliasz Sawicki337 views

Recently uploaded(20)

[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdf
Eleanor McHugh34 views
Java Platform Approach 1.0 - Picnic MeetupJava Platform Approach 1.0 - Picnic Meetup
Java Platform Approach 1.0 - Picnic Meetup
Rick Ossendrijver23 views

ReSwift CocoaHeads Tricity