Skip to content

Commit

Permalink
fix(docs): add missing migration section in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
atheck committed Jun 24, 2022
1 parent 9aa53e8 commit 2ea3f44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -946,3 +946,7 @@ import { useElmishMap } from "react-elmish/dist/legacy/useElmishMap";
```

**Notice**: These functions are marked as deprecated and will be removed in a later release.

## Migration from v3.x to v4.x

Because the legacy `useElmish` and `useElmishMap` have been removed, you have to convert all usages of `useElmish` to use the parameter object.

0 comments on commit 2ea3f44

Please sign in to comment.