Releases: atheck/react-elmish
Releases · atheck/react-elmish
v3.2.0
3.2.0 (2022-04-26)
Features
- pass props to subscription function (3487d33)
v3.1.0
3.1.0 (2022-04-01)
Features
- add InitReturnType and make the returned command optional (45f2468)
- add support for subscriptions when using the useElmish hook (c6baf2a)
v3.0.0
3.0.0 (2022-04-01)
Code Refactoring
- use an options object for the useElmish hook (74c2b38)
Features
- add errorMsg object to create an ErrorMessage (0f0a3fc)
BREAKING CHANGES
- the signature of the
useElmish
hook has changed
- useElmish with multiple parameters is moved and marked as deprecated
- useElmishMap is moved and marked as deprecated
v2.2.0
2.2.0 (2022-03-30)
Features
- add ErrorMessage type (9df5bf8)
- add getUpdateFn for usage in tests (21d06c6)
v2.0.1
fix: always use the same dispatch function in useElmish hook by using useCallback (#9)
v2.0.0
BREAKING CHANGES:
- Deprecated interfaces
ILogger
and IMessage
were removed, use Logger
and Message
instead
- Global declaration of the
Nullable
was removed, see
v.1.5.0
- update deps
- Rename interface ILogger into Logger (ILogger is deprecated)
- Rename interface IMessage into Message (IMessage is deprecated)
v1.4.4
- fix: always use current model for updates in useElmish hook
- chore: update deps
v1.4.3
- fix: TypeError when using initial command with useElmish hook