Skip to content

Pux 8

Compare
Choose a tag to compare
@alexmingoia alexmingoia released this 30 Mar 19:53
· 119 commits to master since this release

This is a major upgrade and rewrite with breaking changes:

  • Markup now uses purescript-smolder and Html has been replaced with a new
    HTML type.
  • Event handlers now receive the raw DOM event from purescript-dom, and Pux no
    longer provides its own event types.
  • Type signatures for start, Config, App have changed to include a new
    type parameter and different labels.
  • Effects in the EffModel now return Maybe a instead of a.
  • Rendering is no longer tied to React. Other virtual DOM renderers can be
    implemented.
  • Added memoize function for views is provided to prevent unnecessary renders.
  • Added constructor for style element and attribute which takes CSS from
    purescript-css.
  • Added full isomorphic routing and rendering setup to pux-starter-app.
  • Actions are now referred to as events in source code and documentation.
  • The "update" function is now referred to as the "foldp" function in source
    code and documentation.

See the updated guide for help upgrading to Pux 8.