Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

ReSwift CocoaHeads Tricity

152 views

Published on

Slides from ReSwift presentation that I gave at CocoaHeads Tricity

Published in: Technology
  • Be the first to comment

  • Be the first to like this

ReSwift CocoaHeads Tricity

  1. 1. TIME TRAVELING WITH RESWIFT ELIASZ SAWICKI @ELISAWIC
  2. 2. REDUX Dan Abramov
  3. 3. UNIDIRECTIONAL DATA FLOW
  4. 4. REDUX MAIN ELEMENTS ▸ State ▸ Actions ▸ Reducers ▸ Store
  5. 5. STATE
  6. 6. ACTION
  7. 7. REDUCER
  8. 8. STORE
  9. 9. RESWIFT REMEMBER ▸ Keep reducers fast ▸ No side effects in reducers ▸ Avoid heavy application state ▸ One way of changing state
  10. 10. 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
  11. 11. RESWIFT WHY NOT? ▸ Daunting ▸ Boilerplate ▸ Many ReSwift components are in POC state ▸ Easy to get stuck
  12. 12. DEVTOOLS
  13. 13. CREDITS CHECK THEM OUT! ▸ Karl Bowden - @karlbowden ▸ Benjamin Encz - @benjaminencz ▸ Aleksander Rendtslev - @ARendtslev ▸ Dan Abramov - @dan_abramov
  14. 14. 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/

×