Victor Oliva
da4c7c6c30
fix Subscribe running in react18 StrictMode ( #249 )
2022-03-30 14:45:44 +02:00
Victor Oliva
fb7004a066
Improve performance of partitionByKey with a big number of elements ( #232 )
...
* Improve performance of partitionByKey with a big number of elements
* Improve performance of partitionByKey by not serialising the keys
* partition by key to emit deltas instead of the resulting keys
* update tests for partitionByKey
* update tests for combineKeys
* getGroupedObservable: close outer subscription once the inner stream is found
* add performance tests to partitionByKey
* make tests more predictable
* adjust performance threshold
Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>
2022-03-30 11:36:14 +02:00
Víctor Oliva
841a86563b
docs: update bundlephobia link
...
Fixes #247
2022-03-30 08:48:19 +02:00
Josep M Sobrepere
73776b473b
@react-rxjs/core@0.9.2
2022-03-29 15:25:12 +02:00
Josep M Sobrepere
1a27b2440e
chore: upgrade dependencies
2022-03-29 15:06:32 +02:00
Josep M Sobrepere
8093bf39f9
fix: declare rxjs-state as external
2022-03-29 14:56:58 +02:00
Josep M Sobrepere
4cbe22a020
fix: React Native build
2022-03-29 14:46:57 +02:00
Josep M Sobrepere
d291db98ce
@react-rxjs/core@0.9.1
2022-03-27 23:14:50 +02:00
allcontributors[bot]
d3de33285f
docs: update .all-contributorsrc [skip ci]
2022-03-27 23:04:20 +02:00
allcontributors[bot]
1e106abf07
docs: update README.md [skip ci]
2022-03-27 23:04:20 +02:00
Luke Shiels
0f3ad28536
Fix compile error on Next.js 12 (Directory import)
...
We're using `react-rxjs` but have transitioned away to an SSR framework, however Node doesn't seem to support this syntax of importing from a directory without specifically writing `index.js`.
Installing `react-rxjs` on a freshly setup Next.js project yields the following error when trying to import `bind` from `@react-rxjs/core`:
```
Error: Directory import '*<project>*/node_modules/use-sync-external-store/shim' is not supported resolving ES modules imported from *<project>*/node_modules/@react-rxjs/core/dist/core.es2019.mjs
Did you mean to import use-sync-external-store/shim/index.js?
```
2022-03-27 23:03:58 +02:00
Víctor Oliva
5a37acd322
add DefaultedStateObservable overloads
2022-03-20 16:45:28 -05:00
Josep M Sobrepere
abf554ebc6
v0.9.0 rxjs-state integration
...
Co-authored-by: Víctor Oliva <olivarra1@gmail.com>
2022-03-20 16:45:28 -05:00
Josep M Sobrepere
b84fd55b53
patch libraries
2022-03-11 15:56:18 -05:00
Josep M Sobrepere
f97649c0af
fix: undo type: module
2022-03-11 15:53:53 -05:00
Josep M Sobrepere
93c0336304
@react-rxjs/core@0.8.6 on devDependencies
2022-03-11 15:43:31 -05:00
Josep M Sobrepere
a4871f4ff7
@react-rxjs/core@0.8.6 fix build
2022-03-11 15:41:33 -05:00
dependabot[bot]
5d94b3e814
chore(deps): bump tmpl from 1.0.4 to 1.0.5
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-11 11:58:02 -05:00
Josep M Sobrepere
6cbda965c6
increase bundlewatch limit
2022-03-11 11:53:51 -05:00
Josep M Sobrepere
dc0afe3b65
patch packages
2022-03-11 11:53:51 -05:00
Josep M Sobrepere
810fff0b5b
update dependencies
2022-03-11 11:53:51 -05:00
Josep M Sobrepere
04430000ac
type: module
2022-03-11 11:53:51 -05:00
Josep M Sobrepere
d3b6013d3b
useSyncExternalStore
2022-03-11 11:53:51 -05:00
Josep M Sobrepere
80b28b7349
fix: utils/combineKeys emit empty Map when needed
2021-10-06 19:44:42 +02:00
Josep M Sobrepere
24080bb7b6
chore: upgrade dev dependencies
2021-10-06 19:22:11 +02:00
Josep M Sobrepere
36c9e6f392
patch: upgrade dev dependencies & patch
2021-09-26 21:43:33 +02:00
allcontributors[bot]
18f1b0b8ba
docs: update .all-contributorsrc [skip ci]
2021-09-09 14:16:02 +02:00
allcontributors[bot]
d952bc46e2
docs: update README.md [skip ci]
2021-09-09 14:16:02 +02:00
Josep M Sobrepere
00670499c9
chore: patch exports for all packages (RN)
2021-09-04 00:14:11 +02:00
Josep M Sobrepere
04e356d028
fix: package.json exports
2021-09-03 23:54:27 +02:00
Josep M Sobrepere
9d47952006
fix(utils): partitionByKey make streamSelector optional
2021-06-25 10:11:36 +02:00
Josep M Sobrepere
6444c03faf
chore: patch exports for all packages
2021-06-07 10:33:04 +02:00
Josep M Sobrepere
3ebc198cb5
@react-rxjs/utils@0.9.0
2021-06-01 12:02:57 +02:00
Víctor Oliva
cb128737a5
remove split/collect/collectValues
2021-05-31 23:53:35 +02:00
Víctor Oliva
59576a11dc
polish error behaviour on partitionByKey, complete tests
2021-05-31 23:53:35 +02:00
Víctor Oliva
9e33084aab
reimplement partitionByKey
2021-05-31 23:53:35 +02:00
Víctor Oliva
71173d3be0
add new tests to partitionByKey
2021-05-31 23:53:35 +02:00
Víctor Oliva
903c929682
feat(utils/combineKeys): emit set with changed keys
2021-05-31 14:42:15 +02:00
Josep M Sobrepere
13fa3af64f
@react-rxjs/core@0.8.1 and @react-rxjs/utils@0.8.3
2021-05-31 14:22:22 +02:00
Josep M Sobrepere
80a9fd67ee
chore: remove tsdx and upgrade dependencies
2021-05-31 13:51:59 +02:00
Josep M Sobrepere
03ef720011
fix(contextBinder): fix typings (exclude Suspense from hook)
2021-05-26 09:58:37 +02:00
Josep M Sobrepere
d3fb725015
fix(utils): combineKeys allow for reentrant keys
2021-05-10 21:23:32 +02:00
Josep M Sobrepere
c6b4010cd0
fix(shareLatest): properly closing sync observables
2021-05-07 10:07:16 +02:00
Víctor Oliva
51148d1900
@react-rxjs/core@0.8.0
2021-04-23 12:01:13 +02:00
Josep M Sobrepere
92e1bef304
feat(core): 🎉 Subscribe: Make source$ optional 🎉
2021-04-16 17:33:42 +02:00
Josep M Sobrepere
f8afe0c25d
@react-rxjs/core@0.7.1
2021-04-08 10:46:10 +02:00
Josep M Sobrepere
22f86e08b6
chore(core): improve shareLatest implementation
2021-04-08 10:34:56 +02:00
Josep M Sobrepere
ffa503a982
fix(core): defer the evaluation of the factory function
2021-04-08 09:40:30 +02:00
Josep M Sobrepere
e6c7898821
fix(core): fixes issue with factory bind lazily referencing its enhanced self
2021-04-07 23:42:41 +02:00
Josep M Sobrepere
a180a8155a
@react-rxjs/core@0.7.0
2021-04-02 21:57:24 +02:00