- Removed usages of use-sync-external-store shim since it was causing undesirable behavior
- Take advantage of use-sync-external-store shim in useObservable to take advantage of react 18 features and be compatible with older versions of react. You can use useObservableLegacy to avoid this.
- useObservable was not supplying the unsubscribe cleanup function to React.useLayoutEffect
- Detect when an observable value has changed between the time when the useObservable hook was invoked and when the subscription was created, and trigger react as expected
- Initial Release, with support for react 16.8+