Skip to content

Commit

Permalink
Merge branch 'master' of github-personal:ngneat/elf
Browse files Browse the repository at this point in the history
  • Loading branch information
NetanelBasal committed Nov 17, 2023
2 parents 2650c27 + afbe3a8 commit 9aafce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/side-effects.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ We can register `effects` that'll execute when we dispatch actions using [`@ngne

```ts title="todos.effects.ts"

import { createEffect, ofType } from '@ngneat/effects';
import { createAction, createEffect, ofType } from '@ngneat/effects';

const loadTodos = createAction('[Todos] Load');

Expand Down Expand Up @@ -119,4 +119,4 @@ function SearchComponent() {
}
```

In the [official](https://github.com/ngneat/effects#effect-functions) documentation, you can find more information and an Angular example. It's possible to use effects and effect functions simultaneously if you like.
In the [official](https://github.com/ngneat/effects#effect-functions) documentation, you can find more information and an Angular example. It's possible to use effects and effect functions simultaneously if you like.

0 comments on commit 9aafce8

Please sign in to comment.