Lessons learned as a React contractor
I shudder at the complixity of Redux. Ooh~ nice, you dispatch an action to a reducer, ooh~. ~job security~<p>I don't know, it rubs me the wrong way when there are better tools out there. Mobx, is much quicker to integrate and is easier to understand how to integrate anywhere in a React app. Glad to see I'm not the only one who really doesn't like Redux.<p>I mean check it out, it has an incredibly small API, and even smaller if you use the right Webpack loaders.<p><pre><code>    import { observable, observe, toJS } from 'mobx'
    export default class Store {
      @observable foo = []
    }
</code></pre>
Then in your components just set or read from `this.context.store.foo`. Every component using the same store will update it's reference to foo.<p><a href="https://sergiotapia.me/using-mobx-and-react-to-build-an-instant-search-3eae1dd20cbd#.2d0j5dbqa" rel="nofollow">https://sergiotapia.me/using-mobx-and-react-to-build-an-inst...</a>