Releases: purescript-react/purescript-react-basic
Releases · purescript-react/purescript-react-basic
v8.0.1
- Fix module-level reference to "window" (#85)
- Allows
react-basic
to be used for static or server rendering
v8.0.0
- 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
- 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
- Ability to get selected files from input using
targetFiles
(@nukisman)
v6.0.0
- 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
- Fix
readProps
and readState
.
v2.0.2
- fix
setStateThen
's state argument