Releases: purescript-react/purescript-react-basic
Releases · purescript-react/purescript-react-basic
v0.8.0
- 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
- 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
- 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
- Add
stateless
helper for creating simple components with less boilerplate
v0.4.0
- 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
- 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