Skip to content
This repository has been archived by the owner on Jan 15, 2023. It is now read-only.

Commit

Permalink
finished juliette-react
Browse files Browse the repository at this point in the history
  • Loading branch information
markostanimirovic committed Aug 16, 2020
1 parent dfe43c2 commit cb45389
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions projects/juliette-ng/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "juliette-ng",
"version": "0.4.4",
"version": "0.5.0",
"peerDependencies": {
"juliette": "0.4.4",
"juliette": "0.5.0",
"@angular/core": "^10.0.5",
"rxjs": "^6.5.5"
},
Expand Down
4 changes: 2 additions & 2 deletions projects/juliette-react/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "juliette-react",
"version": "0.4.4",
"version": "0.5.0",
"main": "public-api.js",
"types": "public-api.d.ts",
"peerDependencies": {
"juliette": "0.4.4",
"juliette": "0.5.0",
"react": "^16.13.1"
}
}
1 change: 0 additions & 1 deletion projects/juliette-react/src/lib/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export function useDispatch(): Dispatch {

export function useSelector<T, R>(selector: Selector<T, R>): R {
const store = useStore<T>();

const [state$, initialState] = useMemo(() => {
let initialState: R = null as any;
const state$ = store.select(selector).pipe(distinctUntilChanged());
Expand Down
2 changes: 1 addition & 1 deletion projects/juliette/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "juliette",
"version": "0.4.4",
"version": "0.5.0",
"main": "public-api.js",
"types": "public-api.d.ts",
"peerDependencies": {
Expand Down

0 comments on commit cb45389

Please sign in to comment.