Commit Graph

98 Commits

Author SHA1 Message Date
Michel Weststrate
a7076d5b42 Better computed name 2019-04-18 16:27:24 +02:00
Michel Weststrate
abed715e0c Added tests, implementation refinement 2019-04-18 16:17:36 +02:00
Michel Weststrate
bf13617331 small rename 2019-04-17 23:44:46 +02:00
Michel Weststrate
846691b5c9 Implemented deepMap 2019-04-17 23:40:46 +02:00
Michel Weststrate
7c13bcc5b0 Merge branch 'es6-getters-create-view-model' of https://github.com/wrench7/mobx-utils into wrench7-es6-getters-create-view-model 2019-04-17 16:11:18 +02:00
Michel Weststrate
ee840ea0e2 Updated dependencies to fix Github security warnings 2019-04-10 17:04:19 +02:00
Michel Weststrate
8e90487b5a Stricter typings for create-view-model. See #182 2019-04-10 16:46:36 +02:00
Michel Weststrate
b1fb160f44 Merge pull request #182 from mobxjs/view-model-add-to-interface
[CreateViewModel] - Add changedValues to interface
2019-04-10 17:39:17 +03:00
Michel Weststrate
ba820882e7 Merge pull request #174 from hepuxuan/lazyObservable-no-longer-work-after-reset
set started to false when calling lazyObservable.reset to allow further update to lazyObservable.
2019-04-10 17:37:39 +03:00
Michel Weststrate
6cae7d136a Merge pull request #177 from wbercx/deepobserve-guard
Fix: guard around unobserveRecursively to avoid error being thrown
2019-04-10 17:36:09 +03:00
Michel Weststrate
84d2792db1 Merge pull request #176 from mobxjs/add-name-to-create-transformer
[CreateTransformer] - Add debugging name
2019-04-10 17:34:05 +03:00
Jason Langdon
5d147c1a43 Fix: ensure ES6 observable getters are included in createViewModel 2019-04-02 16:44:41 +01:00
Itamar Sharify
6cfb95677a [CreateTransformer] - Add debugging name
Fixes Issue #129
2019-03-15 23:57:49 +02:00
miton18
aaa064ba4c Lazy-observable pending unit tests 2019-03-13 16:23:50 +01:00
Itamar Sharify
6f0d5410c9 [CreateViewModel] - Add changedValues to interface 2019-03-12 00:09:57 +02:00
Wesley Bercx
c9f554df89 Update with upstream master to resolve conflicts. 2019-03-11 12:36:25 +11:00
Wesley Bercx
dc7d9d4aff Added test for primitive value changes. 2019-03-11 12:28:44 +11:00
Puxuan
28577b9252 add unit test 2019-03-06 22:54:19 -06:00
Jef Hellemans
f6a73b86bd [Case] - Return fulfilled if callback not supplied (#167) 2019-03-04 15:11:12 +02:00
Itamar Sharify
a5354c5220 [CreateViewModel] - Add changedValues computed
Fixed issue #171
Fixed issue #173
2019-02-20 23:24:28 +02:00
Michel Weststrate
3916cc807c Merge pull request #159 from hc-12/patch-2
Allow memoization of function parameter
2018-11-19 10:09:36 +01:00
Michel Weststrate
13430e9b76 Merge pull request #160 from ItamarShDev/add-current-promise-to-fromPromise
Allow passing previous state to fromPromise
2018-11-19 10:08:45 +01:00
Itamar Sharify
da1a34b135 Allow passing previous state to fromPromise 2018-11-09 23:37:28 +02:00
Itamar Sharify
7231c273b2 Add tests and fix deprecations and warnings 2018-10-27 13:11:52 +03:00
Henry Chung
29989cb8b0 test: createTransform function parameter type check 2018-10-23 22:13:51 +11:00
Michel Weststrate
3ebe2391a7 Merge pull request #154 from mobxjs/deepObserve
Introduce deepObserve
2018-10-16 13:17:36 +02:00
Michel Weststrate
04e98c40e4 Docs and more tests 2018-10-12 20:25:03 +02:00
Michel Weststrate
99ba010f88 Some fixes 2018-10-12 20:18:36 +02:00
Michel Weststrate
ec1fc0808f More tests 2018-10-12 20:12:12 +02:00
Michel Weststrate
1eadedde33 Make sure administration is not grabbed 2018-10-12 19:53:20 +02:00
Michel Weststrate
9dd2387dd4 initial implementation of deep observe 2018-10-12 19:47:27 +02:00
David O'Trakoun
89a2236394 fix typos 2018-09-11 01:48:38 -04:00
Mark Buer
e2baf213e0 fix createTransformer id collision 2018-07-30 08:07:28 +09:30
Michel Weststrate
f4879f273d Added mobx5 compatibility 2018-06-04 19:53:30 +02:00
Rafał Filipek
2ee1a1dd6c Add computed properties in view-model 2018-04-25 21:56:57 +02:00
Michel Weststrate
fabd40a870 Fixed #119, it is not possible to wrap fromPromises 2018-04-23 07:06:03 +02:00
Jeff Hansen
d024478cc7 feat: add moveItem array utility
Ripped from MobX with the deprecation warning removed.
2018-03-26 20:30:22 +02:00
Michel Weststrate
e5cd42bc9f restored decorator implementation 2018-03-12 16:01:28 +01:00
Michel Weststrate
7c6a2b6bf7 Removed .promise 2018-03-06 22:21:21 +01:00
Michel Weststrate
50e1b84e0d Fixed some promise issues 2018-03-06 22:20:10 +01:00
Michel Weststrate
58e1b29377 Fixing tests 2018-03-06 22:15:21 +01:00
Michel Weststrate
f6d4a7d615 Fixing stuff 2018-03-06 21:46:02 +01:00
Michel Weststrate
16e54503ed Moved createTransformer from mobx to mobx-utils 2018-02-27 10:23:17 +01:00
Michel Weststrate
194607dede Moved expr from mobx to mobx-utils 2018-02-27 09:50:09 +01:00
Michel Weststrate
a8f8d70295 Upgraded tests / impl to mobx4 2018-02-27 09:47:00 +01:00
Michel Weststrate
b1a55c6d1b changed default of to false to avoid changing behavior 2017-11-23 14:55:03 +01:00
Michel Weststrate
26a4fe7f7a Merge branch 'master' into feature/toStreamPushInitialValue 2017-11-23 14:49:40 +01:00
Peter Donald
140665188b Run prettier over the codebase 2017-09-29 13:32:24 +10:00
Robert Parker
776c32b77e Update fromPromise documentation
* re-add src/when-async.ts
* fix relative import path in test/type-tests.ts
2017-09-27 15:46:50 -07:00
Netanel Basal
08222505f8 Change toStream to push the initial value 2017-09-27 15:55:07 +03:00