Skip to content

Commit ed511d5

Browse files
committed
chore: update readme
1 parent f856160 commit ed511d5

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ export const addTodo$ = createEffect((actions) =>
5858
ofType(addTodo),
5959
switchMap(() => apiCall().pipe(
6060
tapResult(console.log, console.error)
61-
)
62-
)
61+
))
6362
);
6463
)
6564
);
@@ -76,8 +75,6 @@ dispatch(addTodo({ title: 'effects' }));
7675
```
7776
`tapResult` also let us specify a custom error and completed handler. If no custom error handling is specified, a possible error will be printed to the console.
7877

79-
```ts
80-
8178
## Use with React
8279

8380
First, install the package: `npm i @ngneat/effects-hook`.

libs/effects-ng/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngneat/effects-ng",
3-
"version": "2.0.0",
3+
"version": "3.0.0",
44
"description": "A framework-agnostic RxJS effects implementation",
55
"publishConfig": {
66
"access": "public"

libs/effects/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngneat/effects",
3-
"version": "1.1.1",
3+
"version": "2.0.0",
44
"description": "A framework-agnostic RxJS effects implementation",
55
"publishConfig": {
66
"access": "public"

0 commit comments

Comments
 (0)