Purescript Pux Versions Save

Build type-safe web apps with PureScript.

v11.0.0

6 years ago
  • Support for purescript-smolder 10 (fixes tail-recursive/stack issue with large num of elements) #139.
  • Use create-react-class module to avoid deprecation warning #142.
  • Fix crash when React event object is null #136.
  • Add basic test suite #133.

v9.2.0

6 years ago
  • Use React component class for memoized views. Significantly improves performance by avoiding unnecessary React VDOM subtree comparison. This brings performance characteristics in line with vanilla React and a single state atom and PureRenderMixin.
  • Check for target.value. Fixes #119

v9.0.0

7 years ago
  • Update for PureScript 0.11 #116
  • Starter app now uses Hyper instead of Express, and defaults to using purs ide for faster reloads.
  • Remove redundant arrays in rendered React VDOM
  • Fixed type error in devtool state serialization #117

v8.7.0

7 years ago
  • Fix redundant initial render.
  • Add reactClassWithProps for using arbitrary props with external React classes.
  • Add HMR support to pux-devtool.

v8.3.0

7 years ago

Improved React rendering performance by caching virtual DOM returned by memoized views. This provides the same performance optimization as React's shouldComponentUpdate.

v8.0.0

7 years ago

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.

v1.0.0

8 years ago
  • The 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.
  • One-to-one mapping between event types and React's synthetic events.
  • The 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.