Skip to content

v1.0.0

Compare
Choose a tag to compare
@garyb garyb released this 28 Feb 19:10
· 370 commits to master since this release

Many breaking changes since v0.12, including:

  • Components now don't reveal their state in their type signatures. This has many knock on implications - a major one being a drastic simplification of types for parent components (no more Coproducts!)
  • peek is gone in favour of a dedicated mechanism for raising / listening to messages
  • Components can have "input values" now, that allow data to be passed down when a parent re-renders
  • Rendering is more efficient, due to patching only taking place at the component level
  • No more virtual-dom dependency required, by default a native PS virtual dom is used
  • The HTML type that components render is now parameterised to potentially allow for non-HTML components (React Native, for example - although no driver is provided for this)
  • The non-indexed HTML DSL is no longer provided
  • EventSource subscriptions have been overhauled. Components can also choose to unsubscribe now, and will automatically unsubscribe when finalized.
  • refs in the HTML no longer raise an event, but are accessed through the HalogenM DSL
  • Component lifecycle handler ordering has been made predictable

See the updated guide!