Skip to content

Releases: atheck/react-elmish

v3.2.0

26 Apr 07:42
Compare
Choose a tag to compare

3.2.0 (2022-04-26)

Features

  • pass props to subscription function (3487d33)

v3.1.0

01 Apr 19:26
Compare
Choose a tag to compare

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

01 Apr 07:18
Compare
Choose a tag to compare

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

30 Mar 16:59
Compare
Choose a tag to compare

2.2.0 (2022-03-30)

Features

  • add ErrorMessage type (9df5bf8)
  • add getUpdateFn for usage in tests (21d06c6)

v2.1.0

18 Mar 07:54
Compare
Choose a tag to compare

feat: introduce useElmishMap and UpdateMap (https://github.com/atheck/react-elmish#a-new-approach)

v2.0.1

15 Mar 20:43
Compare
Choose a tag to compare

fix: always use the same dispatch function in useElmish hook by using useCallback (#9)

v2.0.0

04 Feb 06:56
Compare
Choose a tag to compare

BREAKING CHANGES:

  • Deprecated interfaces ILogger and IMessage were removed, use Logger and Message instead
  • Global declaration of the Nullable was removed, see Migration Guide

v.1.5.0

03 Dec 18:04
Compare
Choose a tag to compare
  • update deps
  • Rename interface ILogger into Logger (ILogger is deprecated)
  • Rename interface IMessage into Message (IMessage is deprecated)

v1.4.4

08 Oct 21:33
Compare
Choose a tag to compare
  • fix: always use current model for updates in useElmish hook
  • chore: update deps

v1.4.3

24 Aug 19:47
Compare
Choose a tag to compare
  • fix: TypeError when using initial command with useElmish hook