Small library to use RxJs observables with React Hooks in React Functional Components.
import React from 'react';
import useSelector from 'rxjs-use-selector';
export const User = () => {
const user = useSelector(
<observable-provider>.currentUser, {}
);
}
For detailed usage refer - Example Application