135 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
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
8c71bcf086 types: make types compatible for React 18 2022-04-11 15:27:13 +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
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
Josep M Sobrepere
73776b473b @react-rxjs/core@0.9.2 2022-03-29 15:25:12 +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
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
a4871f4ff7 @react-rxjs/core@0.8.6 fix build 2022-03-11 15:41:33 -05:00
Josep M Sobrepere
dc0afe3b65 patch packages 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
36c9e6f392 patch: upgrade dev dependencies & patch 2021-09-26 21:43:33 +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
6444c03faf chore: patch exports for all packages 2021-06-07 10:33:04 +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
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
Josep M Sobrepere
a0bea24b4f feat(core): remove useSubscribe 2021-04-02 21:57:24 +02:00
Josep M Sobrepere
15539048a5 feat(core): factory bind accept function for default value 2021-04-02 17:09:13 +02:00
Josep M Sobrepere
ba1d31e1b9 chore: improve bundling 2021-04-01 15:44:34 +02:00
Josep M Sobrepere
4727a848c3 chore: upgrade dependencies 2021-03-31 01:13:11 +02:00
Josep M Sobrepere
e37245006f fix(core): ensure that all subscriptions count for the refcount 2021-03-02 12:18:02 +01:00
Josep M Sobrepere
a476a2bb13 fix prepare script 2021-02-18 02:42:59 +01:00
Josep M Sobrepere
5d9a7c220b better tooling for builds 2021-02-18 02:35:29 +01:00
Josep M Sobrepere
a0b004a5df chore(deps): upgrade to TypeScript 4 2021-01-22 15:18:03 +01:00
Josep M Sobrepere
36950b75cf @react-rxjs/core@0.6.4 2021-01-21 14:30:44 +01:00
Josep M Sobrepere
bfc9b8bcd4 fix(bind): the default value can be undefined 2021-01-13 15:00:17 +01:00