Skip to content

Releases: purescript-react/purescript-react-basic

v8.0.1

08 Apr 17:29
ba247c0

Choose a tag to compare

  • Fix module-level reference to "window" (#85)
    • Allows react-basic to be used for static or server rendering

v8.0.0

08 Apr 17:28
dc53374

Choose a tag to compare

  • We've been finding the update/action pattern to be too verbose for basic use cases. This version keeps the v7 types and lifecycle code while returning state updates to the more traditional setState and setStateThen
  • Fixed a bug with type checking actions correctly (#71)

v7.0.0

14 Jan 18:24
e567488

Choose a tag to compare

  • Resolved an issue which broke proper type checking on send, capture, etc's action type. This is a major version bump because the Self and ReactComponentInstance types changed, and updating could cause compile errors in cases which were not previously caught. There should be no compile errors while upgrading if all your actions are dispatched correctly (and you never used the ReactComponentInstance type).

v6.2.0

27 Dec 17:09
8784fa2

Choose a tag to compare

  • Ability to get selected files from input using targetFiles (@nukisman)

v6.0.0

29 Nov 19:05
0c459eb

Choose a tag to compare

  • Add mouse event handlers (@akheron)
  • shouldUpdate: now receives the record { nextProps, nextState } instead of Self -> props -> state -> Boolean
  • didUpdate: now receives a second argument, a { nextProps, nextState } record

v5.0.1

27 Nov 18:58

Choose a tag to compare

  • Fix readProps and readState.

v5.0.0

09 Nov 20:04
836471f

Choose a tag to compare

  • New API

v3.0.0

08 Nov 20:53
3290344

Choose a tag to compare

  • Add onBlur and onFocus

v2.1.0

08 Nov 20:52
c8669be

Choose a tag to compare

  • Add createPortal

v2.0.2

08 Nov 20:51
3dc3f53

Choose a tag to compare

  • fix setStateThen's state argument