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

How React shaped Haptik’s frontend story

How React shaped Haptik’s frontend story

At Haptik, we use React extensively. In fact, 5 out of our 5 heavy lifting customer facing Apps are written in React.

But this was not the case always, we had to try a whole lot different technologies to fail and then move to React 2.5 years back only to succeed. React has, in fact, made our frontend journey very simple.

This talk will revolve around how React has helped a startup to build and ship great bug-free and good looking products. How React eased our process to get started, our learnings to build extensible products and things we did wrong (and learned from).

We wish to give back to the same React community who has helped us grow extensively in our journey.

Avatar for Nabendu Karmakar

Nabendu Karmakar

March 19, 2018
Tweet

Other Decks in Programming

Transcript

  1. What we needed to do ⊙ Separate frontend and backend

    ⊙ Make different teams able to work in parallel ⊙ Make it look great Started with HTML, CSS and jQuery.
  2. What we observed ⊙ Started off very quickly and easily

    ⊙ Started delivering product features ⊙ Started writing lots of code Our life felt simple.
  3. To find the state of the system, we were querying

    the DOM every time The causes There were multiple sources of truth for most of the app state Multiple event listeners
  4. What we needed at Haptik? ⊙ State based framework ⊙

    Predictable and production-grade ⊙ Fast and lightweight ⊙ Can build great UIs ⊙ Easy learning curve
  5. ⊙ Our best practices, libraries & stack ⊙ Defined app

    structure ⊙ Proven lints ⊙ Build process
  6. ⊙ Don’t use it if you don’t need it ⊙

    Chose extensibility over ease of building ⊙ If you can do it, do not lend it