- 26 11月, 2020 1 次提交
-
-
由 Ivan V 提交于
By default, MobX 6 and later require that you use `actions` to make changes to the state, otherwise, it issues a warning in the console, because the `hydrate` method of the `store.js` class hasn't been declared an action, you can see this warning if you try to load pages that use hydration (ssg, ssr). This pull request fixes that. More info about the behavior: https://mobx.js.org/actions.html#disabling-mandatory-actions-
-
- 10 11月, 2020 1 次提交
-
-
由 David Golden 提交于
upgrade mobx dependencies for with-mobx example and make all necessary code changes as per https://mobx.js.org/migrating-from-4-or-5.html addresses #17809
-
- 19 5月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
-
- 24 4月, 2020 1 次提交
-
-
由 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.
-
- 21 4月, 2020 1 次提交
-
-
由 退之 提交于
* fix: with-mobx * refactor: up link * refactor: npm run prettier-fix * refactor: server side render * Updated store implementation and pages * Updated readme Co-authored-by: Nwangcheng <wangcheng@deepblueai.com> Co-authored-by: NLuis Alvarez <luis@zeit.co>
-
- 07 4月, 2020 1 次提交
-
-
由 Luis Alvarez D 提交于
* Updated with-custom-reverse-proxy * Updated readme of with-env-from-next-config-js * Updated the kea example * Updated with-mobx * Updated with-mobx readme * Updated the with-mobx-react-lite example
-
- 11 11月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Update `packages/` * Update examples * Update tests * Update bench * Update top level files * Fix build * trigger
-
- 09 8月, 2019 1 次提交
-
-
由 Junyoung Choi 提交于
-
- 25 6月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
-
- 21 2月, 2019 1 次提交
-
-
由 Connor Davis 提交于
-
- 15 2月, 2019 1 次提交
-
-
由 Felix Mosheev 提交于
-
- 18 12月, 2018 1 次提交
-
-
由 Tim Neutkens 提交于
* Add prettier for examples directory * Fix files * Fix linting * Add prettier script in case it has to be ran again
-
- 06 11月, 2018 1 次提交
-
-
由 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.
-
- 01 7月, 2018 1 次提交
-
-
由 Junyoung Choi (Sai) 提交于
in flavor of https://github.com/zeit/next.js/pull/4377
-
- 12 2月, 2018 1 次提交
-
-
由 vuldin 提交于
-
- 20 8月, 2017 1 次提交
-
-
由 Brikou CARRE 提交于
-
- 06 1月, 2017 1 次提交
-
-
由 Florian Didron 提交于
* Adds mobx example * Fix coding style to match JS Standard * Removes unecessary link * Update README.md * Update README.md * Change next version from beta to ^2.0.0-beta * Assigns the store to a local var * Adds navigation in the example * Removes unecessary imports * Fix coding style to match JS Standard * Fix Clock import
-