Skip to content

Releases: purescript-react/purescript-react-basic

v8.0.1

Choose a tag to compare

@maddie927 maddie927 released this 08 Apr 17:29
ba247c0
  • Fix module-level reference to "window" (#85)
    • Allows react-basic to be used for static or server rendering

v8.0.0

Choose a tag to compare

@maddie927 maddie927 released this 08 Apr 17:28
dc53374
  • 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

Choose a tag to compare

@maddie927 maddie927 released this 14 Jan 18:24
e567488
  • 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

Choose a tag to compare

@maddie927 maddie927 released this 27 Dec 17:09
8784fa2
  • Ability to get selected files from input using targetFiles (@nukisman)

v6.0.0

Choose a tag to compare

@maddie927 maddie927 released this 29 Nov 19:05
0c459eb
  • 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

Choose a tag to compare

@arthurxavierx arthurxavierx released this 27 Nov 18:58
  • Fix readProps and readState.

v5.0.0

Choose a tag to compare

@maddie927 maddie927 released this 09 Nov 20:04
836471f
  • New API

v3.0.0

Choose a tag to compare

@maddie927 maddie927 released this 08 Nov 20:53
3290344
  • Add onBlur and onFocus

v2.1.0

Choose a tag to compare

@maddie927 maddie927 released this 08 Nov 20:52
c8669be
  • Add createPortal

v2.0.2

Choose a tag to compare

@maddie927 maddie927 released this 08 Nov 20:51
3dc3f53
  • fix setStateThen's state argument