371 Commits

Author SHA1 Message Date
Josep M Sobrepere
af85c8a567 @react-rxjs/core: fix StrictMode error on immediate unmount 2022-06-14 15:45:41 +02:00
Josep M Sobrepere
26b6460c77
@react-rxjs/core@0.9.6 2022-04-29 10:50:08 +02:00
Josep M Sobrepere
e3d6f640e0 core: fix SUSPENSE typings 2022-04-25 15:13:29 +02:00
Josep M Sobrepere
85ad4a3b19 fix package-lock.json 2022-04-25 15:13:29 +02:00
Victor Oliva
b194d558ca
docs: add description for toKeySet operator (#257)
Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>
2022-04-21 14:39:15 +02:00
Victor Oliva
f9b6175694
feat: RemoveSubscribe component (#261) 2022-04-14 13:05:19 +02:00
Josep M Sobrepere
bb716cefb8 @react-rxjs/core@0.9.5 2022-04-11 15:36:12 +02:00
Josep M Sobrepere
e2fbf4afda chore: upgrade deps 2022-04-11 15:30:50 +02:00
Josep M Sobrepere
8c71bcf086 types: make types compatible for React 18 2022-04-11 15:27:13 +02:00
Josep M Sobrepere
14a07f219d upgrade CI to node 16 2022-04-05 15:32:31 +02:00
Josep M Sobrepere
1516ed7df3 chore: yarn -> npm 2022-04-05 15:32:31 +02:00
Josep M Sobrepere
5c31503a1d @josepot/rxjs-state -> @rxstate/core 2022-04-05 10:49:18 +02:00
Josep M Sobrepere
2452f12ebc chore: upgrade dependencies 2022-04-05 10:49:18 +02:00
Josep M Sobrepere
da9fea8937
@react-rxjs/core@0.9.4 (#254) 2022-04-04 17:41:23 +02:00
Josep M Sobrepere
1af9c62033
fix: useStateObservable (#253) 2022-04-04 17:37:21 +02:00
Victor Oliva
6fe91f8a1b
feat: utils toKeySet (#252)
* feat: utils `toKeySet`

* Update packages/utils/src/toKeySet.ts

Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>

* Update packages/utils/src/toKeySet.test.ts

Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>

* organize test imports

Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>
2022-04-01 10:16:12 +02:00
Josep M Sobrepere
ec8f8ad12d
partitionByKey fixes and improvements (#251)
* `partitionByKey` fixes and improvements

* fix `pendingFirstAdd`

* add order to sync test

* Update packages/utils/src/partitionByKey.ts

Co-authored-by: Victor Oliva <olivarra1@gmail.com>

Co-authored-by: Victor Oliva <olivarra1@gmail.com>
2022-03-30 23:31:02 +02:00
Josep M Sobrepere
78416fbed5
@react-rxjs/core@0.9.3 2022-03-30 15:48:48 +02:00
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