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

Building web apps with React+MobX

Building web apps with React+MobX

Presented at the first meetup of the Web Applications Meetup group Veenendaal.

Gerben Meyer

December 07, 2017
Tweet

Other Decks in Programming

Transcript

  1. Gerben Meyer • Lead Developer at Minox • Before: •

    Lead Developer at Zoover • Stuff in Taipei • Academia • http://gerbenmeyer.com/
  2. Minox • Accounting software • Since 1983 • Around 20

    employees • Veenendaal based • Transitioning to cool tech
  3. React • "A JavaScript library for building user interfaces" •

    Generate HTML client-side and/or server-side • https://reactjs.org/
  4. MobX • "Simple, scalable state management" • Store data on

    which the UI is based • https://mobx.js.org/
  5. Integrating MobX and React • Inject the MobX store in

    the React component • MobX decorators do most of the magic
  6. Changing State • Define an action for changing state •

    Updating observables will notify observers
  7. Changing View • MobX observer will update React props •

    So new accounts are rendered automagically!
  8. React Styleguidist • "Isolated React component development environment with a

    living style guide" • AFAIK the best way of managing all your React components • Especially awesome when not using CSS • https://react-styleguidist.js.org/
  9. Bizcuit • "Écht betalen vanuit jouw boekhouding!" • Our first

    application builtthis way • Mobile-first web app • Connects with bank APIs • Back-end built in NodeJS • HA deployment in AWS • https://www.bizcuit.nl/