1. 02 6月, 2020 1 次提交
  2. 28 5月, 2020 2 次提交
  3. 19 5月, 2020 1 次提交
  4. 24 4月, 2020 1 次提交
    • J
      Remove unnecessary export to make usage clearer. (#12167) · f3e6545b
      Johan Nilsson 提交于
      The method initializeStore is only being used locally by useStore.
      By having this exported I initially thought the consumer would have to call this as setup globally and then call useStore as well for each consuming component.
      
      Downloading the sample I saw it's only useStore that is being used by the consuming app and this could be made clear by not exporting initializeStore.
      f3e6545b
  5. 21 4月, 2020 2 次提交
  6. 07 4月, 2020 1 次提交
  7. 25 2月, 2020 1 次提交
  8. 13 2月, 2020 1 次提交
    • S
      Remove Now CLI reference from examples (#10501) · 5f041447
      Shu Uesugi 提交于
      * Find/Replace "Deploy it to the cloud..."
      
      * Find/Replace "Deploy it to the cloud..." (no colon)
      
      * Find/Replace "Deploy it to the cloud..." for firebase
      
      * Convert remaining ones
      
      * Storybook deployment
      
      * Update with-stripe-typescript
      
      * Update contributing.md
      
      * Remove `now`
      
      * Update examples/with-stripe-typescript/README.md
      Co-Authored-By: NLuis Alvarez D. <luis@zeit.co>
      5f041447
  9. 17 1月, 2020 1 次提交
    • S
      Make example READMEs more consistent (#10124) · 6804039e
      Shu Uesugi 提交于
      * npx create → npm init
      
      * Fix inconsistent instructions
      
      * Update amp-first
      
      * Update with-graphql-react
      
      * with-firebase-cloud-messaging
      
      * Update with-higher-order-component
      
      * change create-next-app url
      
      * Update create-next-app instruction
      
      * Update instructions to use npm instead of npx
      
      * Move "the idea behind the example" to top
      
      * Rename
      
      * Rename
      
      * Update contributing.md with a README template
      6804039e
  10. 28 11月, 2019 1 次提交
  11. 11 11月, 2019 1 次提交
  12. 11 10月, 2019 1 次提交
  13. 12 8月, 2019 1 次提交
  14. 09 8月, 2019 1 次提交
  15. 25 6月, 2019 1 次提交
  16. 29 5月, 2019 1 次提交
  17. 28 5月, 2019 1 次提交
  18. 24 4月, 2019 1 次提交
  19. 28 3月, 2019 1 次提交
  20. 21 2月, 2019 1 次提交
  21. 15 2月, 2019 1 次提交
  22. 05 1月, 2019 1 次提交
  23. 23 12月, 2018 1 次提交
  24. 18 12月, 2018 1 次提交
  25. 20 11月, 2018 1 次提交
    • M
      Run initializeStore() only once per route on server (#5644) · 766d7d5f
      Már Örlygsson 提交于
      On the server `props.initialMobxState` received by the `constructor` is a fully functioning mobx store that was instantiated by `getInitialProps()` only a few ticks earlier.
      Thus, creating a new instance is unneccessary.
      
      In the browser, however, `props.initialMobxState` is a hydrated plain object and thus the store needs to be initialized.
      766d7d5f
  26. 06 11月, 2018 1 次提交
    • 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
  27. 28 9月, 2018 1 次提交
  28. 20 9月, 2018 1 次提交
    • E
      Update with-mobx example (#5229) · 648e07f1
      Eugene 提交于
      Update to new @babel/plugin-proposal-decorators, @babel/plugin-proposal-class-properties plugins version.
      648e07f1
  29. 12 7月, 2018 1 次提交
  30. 01 7月, 2018 1 次提交
  31. 16 5月, 2018 1 次提交
    • Y
      Fix with-mobx example (#4394) · e8c7dd49
      yhirano55 提交于
      fixes #4390
      
      * Installing only `babel-plugin-transform-decorators-legacy` didn't work
      * It also needs to install `babel-plugin-transform-class-properties`
      e8c7dd49
  32. 03 4月, 2018 1 次提交
  33. 14 3月, 2018 1 次提交
  34. 12 2月, 2018 1 次提交
  35. 07 12月, 2017 1 次提交
  36. 03 12月, 2017 1 次提交
  37. 17 10月, 2017 1 次提交
  38. 20 8月, 2017 1 次提交