v1.0.0
Many breaking changes since v0.12, including:
Component
s 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 moreCoproducts
!)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.ref
s in the HTML no longer raise an event, but are accessed through theHalogenM
DSL- Component lifecycle handler ordering has been made predictable
See the updated guide!