From 2ea3f44bb06ada02ca5f120616cc1e8c8d0a4698 Mon Sep 17 00:00:00 2001 From: Henrik Fuchs Date: Fri, 24 Jun 2022 08:57:42 +0200 Subject: [PATCH] fix(docs): add missing migration section in readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9a405f8..aa8b027 100644 --- a/README.md +++ b/README.md @@ -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.