Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
simbathesailor committed Aug 17, 2020
1 parent 7bbde13 commit 9158a63
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,11 @@ export default function App() {
);
}
```

## When not needed the arguments, you can use it exactly same as useEffect

```jsx
useEffectX(() => {}, [countA, countB]);

useEffectX(() => {});
```

0 comments on commit 9158a63

Please sign in to comment.