Martijn Faassen
8bc76b823b
The 'expr' documentation in MobX was a bit more extensive.
...
So I added that here.
2020-07-08 16:26:22 +02:00
Martijn Faassen
048695c647
Fix syntax bug and run prettier.
2020-07-08 16:16:26 +02:00
Martijn Faassen
7cb9e85f58
Move the createTransformer docs over from the MobX docs.
2020-07-08 16:13:26 +02:00
Adrian Leonhard
cc786b3226
v5.6.1
v5.6.1
2020-05-25 18:08:26 +02:00
Adrian Leonhard
c06d66b8bf
update changelog for 5.6.1
2020-05-25 18:07:45 +02:00
Adrian Leonhard
b9b538f9df
Merge pull request #260 from bb/fix-ogm-docs
...
Move OGM constructor docs to class head.
2020-05-25 18:03:26 +02:00
Adrian Leonhard
1e659acca3
fromResource/lazyObservable: reorder docs/overloads to generate docs properly
2020-05-25 10:37:46 +02:00
Adrian Leonhard
3a238525fd
Merge branch 'fix-ogm-docs' of https://github.com/bb/mobx-utils into bb-fix-ogm-docs
2020-05-25 10:28:49 +02:00
Adrian Leonhard
25a0e8d143
Merge pull request #262 from bb/ogm-improve-public-types
...
Improve public types by hiding GroupItem implementation detail.
2020-05-25 07:12:05 +02:00
Benjamin Bock
a8309d4965
Improve public types by hiding GroupItem implementation detail.
2020-05-24 23:21:18 +02:00
Adrian Leonhard
127cb28f0d
Merge pull request #261 from bb/fix-unused-imports
...
Fix unused imports
2020-05-24 22:45:53 +02:00
Benjamin Bock
1d765119f3
Fix typo.
2020-05-24 20:39:34 +02:00
Benjamin Bock
00ef3620c2
Remove unused imports.
2020-05-24 20:39:26 +02:00
Benjamin Bock
28acc5c5a6
Move OGM constructor docs to class head.
...
As recommended by https://github.com/documentationjs/documentation/blob/HEAD/docs/RECIPES.md#classes .
2020-05-24 20:21:48 +02:00
Adrian Leonhard
d2e785b14f
Merge pull request #257 from mobxjs/strict-mode
...
Enable TS strict mode
2020-05-24 18:20:24 +02:00
Adrian Leonhard
121a22e05d
Merge pull request #258 from mobxjs/rollup-config
...
replace long rollup cli with rollup.config.js
2020-05-24 13:01:25 +02:00
Adrian Leonhard
5a935e7da4
src/tsconfig.json: set strict: true and fix errors
2020-05-24 12:59:02 +02:00
Adrian Leonhard
4c625d6b21
replace long rollup cli with rollup.config.js
2020-05-24 12:26:27 +02:00
Adrian Leonhard
394a4ae1e9
Merge pull request #259 from mobxjs/fix-flaky-observable-stream-tests
...
test/observable-stream.ts: Double timeouts to prevent tests flaking out
2020-05-24 12:25:01 +02:00
Adrian Leonhard
30dfe7d43f
Double timeouts to prevent tests flaking out
2020-05-24 12:22:32 +02:00
Adrian Leonhard
e08275dbbb
Merge pull request #256 from bb/patch-1
...
Fix ObservableGroupMap index out of bounds #255
2020-05-24 11:58:47 +02:00
Adrian Leonhard
ee4adc57bd
remove unnecessary 'git add' from package.json:lint-staged to remove warning
2020-05-24 11:54:36 +02:00
Adrian Leonhard
1c0bdabbc7
Add .gitattributes and git add . --renormalize
2020-05-24 11:50:26 +02:00
Adrian Leonhard
013bd56e6d
Add test from #255 (confirmed that it fails on master)
2020-05-24 10:34:32 +02:00
Adrian Leonhard
67ccd51cc6
OGM: type GroupItems correctly
2020-05-24 10:30:18 +02:00
Benjamin Bock
884b294902
Fix ObservableGroupMap index out of bounds #255
...
Finish renaming from c13110ff66 .
2020-05-24 03:53:34 +02:00
Michel Weststrate
cc346a6e9a
Published version 5.6.0
5.6.0
2020-05-23 12:00:06 +01:00
Adrian Leonhard
a4cda654c1
fix links in changelog
2020-05-23 12:14:34 +02:00
Adrian Leonhard
1bf6101b92
Update changelog for 5.6.0
2020-05-23 12:09:37 +02:00
Adrian Leonhard
297d84f2d2
Merge pull request #253 from mobxjs/up-dev-deps
...
Update devDependencies
2020-05-23 12:03:11 +02:00
Adrian Leonhard
de1a77d938
Update devDependencies
2020-05-23 12:00:48 +02:00
Adrian Leonhard
294e6a2398
Merge pull request #251 from mobxjs/fix-from-stream-initialvalue-type
...
Fix fromStream initialValue type
2020-05-16 12:26:40 +02:00
Adrian Leonhard
4a040b0291
add npm badge
2020-05-15 18:28:40 +02:00
Adrian Leonhard
562298216a
Regenerate README.md
2020-05-15 18:25:26 +02:00
Adrian Leonhard
dbd39752f2
Merge pull request #245 from NaridaL/master
...
Add ObservableGroupMap
2020-05-15 18:18:35 +02:00
Adrian Leonhard
c13110ff66
grouper -> ogm/group
2020-05-15 18:13:26 +02:00
Adrian Leonhard
47321e7483
Typing initial value correctly doesn't require a second type parameter.
...
I enabled strict mode to resolve all the null errors in observable-stream.ts and test/observable-stream.ts
2020-05-15 18:10:24 +02:00
Ivan Kasenkov
a12a84fadd
fix types: type of IStreamListener.current also can be type of initial value
2020-05-15 17:52:06 +02:00
Adrian Leonhard
643c44aaa8
Fix failing test
2020-05-15 17:48:22 +02:00
Adrian Leonhard
2170edce13
Add failing test.
2020-05-15 17:48:22 +02:00
Adrian Leonhard
0becd8b413
improve docs
2020-05-06 00:09:19 +02:00
Adrian Leonhard
7086cd685d
ObservableGroupMap: add two more tests, minor restructure
2020-05-05 23:48:44 +02:00
Adrian Leonhard
cc69152427
Add OGM documentation
2020-05-04 15:41:03 +02:00
Adrian Leonhard
5ff0b3f1a7
Add ObservableGroupMap
...
An ObservableGroupMap is constructed from a base IObservableArray and a `groupBy` function.
It maps `groupBy` values to IObservableArrays of the items in the base array which have groupBy(item) == key
The IObservableArrays are updated reactively when items in the base array are removed, changed or added.
Updates are done without iterating through the base array (except once at the beginning)
2020-05-04 15:41:01 +02:00
Michel Weststrate
4b5964042f
Merge pull request #248 from NaridaL/typescript3.8
...
Update TypeScript to 3.8.3 and Prettier to 2.0.4
2020-05-04 11:11:16 +01:00
Adrian Leonhard
cf9d0f3a02
Travis: use node 10
2020-04-10 14:30:22 +02:00
Adrian Leonhard
9ccbf01870
Update prettier to 2.0.4
2020-04-10 14:23:14 +02:00
Adrian Leonhard
e0200d5107
Update TypeScript to 3.8.3
2020-04-10 14:13:10 +02:00
Javier Gonzalez
7f4df9b010
5.5.7
2020-04-07 23:35:14 +02:00
Javier Gonzalez
aad06b1656
fix action async execution order when throwing ( #246 )
...
* fix action async execution order when throwing
2020-04-07 23:34:28 +02:00