Upgrade to Pro — share decks privately, control downloads, hide ads and more …

I Hated React too Soon, Reconciled with It Quic...

I Hated React too Soon, Reconciled with It Quickly Afterwards

NDC London 2017 (London, UK)

Tugberk Ugurlu

January 20, 2017
Tweet

More Decks by Tugberk Ugurlu

Other Decks in Programming

Transcript

  1. I Hated React too Soon, Reconciled with It Quickly Afterwards

    Tugberk Ugurlu Software Engineer @ Redgate @tourismgeek http://tugberkugurlu.com https://flic.kr/p/cQRAYC
  2. React is Simple Give it an input, get an output

    React does one thing and it does it well It has a small public API surface area
  3. React is Simple “React applications start complex but maintenance complexity

    of React applications doesn’t grow much as your applications grow
  4. What is Redux? “Redux is a state management library for

    JavaScript applications, inspired by Flux and Elm.
  5. What is Redux? (in human English) “Kind of like event

    sourcing and pub/sub, with a fancier name.
  6. The Meat of Redux Store Store is where everything comes

    together and it acts as the source of truth for the application state
  7. The Whole Idea You have one state, one state only

    for your entire application! https://flic.kr/p/9QQHW
  8. Some Resources • My Blog Post on React: http://bit.ly/2jwicka •

    React Docs: https://facebook.github.io/react/docs/hello-world.html • Redux Docs: http://redux.js.org • The Redux Journey at react-europe 2016: http://bit.ly/2bJEZEP • Redux Usage with React: http://bit.ly/2bdAiVO • Presentational and Container Components: http://bit.ly/2bM3DpO • (Pluralsight Course) Building Applications with React and Redux in ES6: http://bit.ly/2bRAQ4T • Thinking in React: https://facebook.github.io/react/docs/thinking-in-react.html • React Reconciliation: https://facebook.github.io/react/docs/reconciliation.html • Influencers of Redux: https://github.com/reactjs/redux#influences • Why did you reinvented Event Sourcing?: https://github.com/gaearon/ama/issues/110