• M
    examples/with-mobx : Fix and simplify (#5537) · 420f74c8
    Már Örlygsson 提交于
    I spent far too much time fiddling with this example project before realizing it contained a bug in the store initialization logic and it was a bit more complex than it needed to be.
    
    * The custom server was not needed
    * The store-initialization did effectively the same thing twice for no reason
    * And wrapping MyApp component in a HOC was wholly unnecessary indirection
    
    My changes are split into four discrete commits for clarity.
    420f74c8
store.js 907 字节