Build type-safe web apps with PureScript.
reactClassWithProps
for using arbitrary props with external React classes.Improved React rendering performance by caching virtual DOM returned by memoized views. This provides the same performance optimization as React's shouldComponentUpdate
.
This is a major upgrade and rewrite with breaking changes:
Html
has been replaced with a new
HTML
type.start
, Config
, App
have changed to include a new
type parameter and different labels.Maybe a
instead of a
.CSS
from
purescript-css.See the updated guide for help upgrading to Pux 8.
VirtualDOM
monad has been replaced with #
operator and rebindable
do
, which enables the use of both array notation or do
notation for
composing views.VirtualDOM
is now Html a
and is parameterized by the component's action
type.Update
function no longer receives an input Signal.Channel
.EffModel
type has changed to
{ state: state, effects: Array (Aff eff action)
, and actions are
automatically fed into the input channel.