Skip to content

Releases: purescript-react/purescript-react-basic

v0.8.0

28 Mar 19:47
541c130
Compare
Choose a tag to compare
  • Move event code that isn't DOM-specific out of React.Basic.DOM.Events and into React.Basic.Events
  • targetValue and targetChecked now use Maybe instead of Nullable
  • Fix displayName

v0.7.0

27 Mar 16:38
a6b719e
Compare
Choose a tag to compare
  • Restrict prop types to Records (similar to previous release's state type change)
  • Add React.Basic.DOM.Events containing safe event utility functions

v0.6.0

21 Mar 19:36
539cddc
Compare
Choose a tag to compare
  • Fixed a bug in createElementKeyed FFI
  • Fixed onChange prop type
  • Restricted the component state type to records to avoid unexpected React behavior

v0.5.0

15 Mar 21:58
c43b995
Compare
Choose a tag to compare
  • Add stateless helper for creating simple components with less boilerplate

v0.4.0

06 Mar 23:03
9927842
Compare
Choose a tag to compare
  • Added React 16 support
  • displayName added to component spec (useful for debugging, dev tools, and component libraries)
  • React.Basic is no longer tied to React.Basic.DOM
  • React.Basic.DOM functions are now all props -> JSX, if they support child elements they will allow a children :: Array JSX prop
  • No longer triggers warnings about React key props for normal use -- use createElementKeyed and the key props for long lists
  • Added a fragment helper for creating React 16 fragments (falls back to a div if React.Fragment is not available

v0.3.0

21 Feb 19:16
d40597c
Compare
Choose a tag to compare
  • Add receiveProps to the spec, to respond to initial or incoming props
  • Add component function to use other React components
  • Add counter and component examples