From 8aca9e529b29d361528f32402a924d3116a5f087 Mon Sep 17 00:00:00 2001 From: Alex Mingoia Date: Fri, 19 May 2017 19:20:13 -0700 Subject: [PATCH] 9.2 --- CHANGELOG.md | 8 ++++++++ package.json | 2 +- website/src/App/Events.purs | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a066e19..e9627dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## [v9.2] - 2017-05-19 + +- 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](https://github.com/alexmingoia/purescript-pux/issues/119) + ## [v9.1] - 2017-05-02 - Send events returned by effects after the current execution context. diff --git a/package.json b/package.json index 19335e7..32e4fc1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "purescript-pux", "description": "Build purely functional type-safe web apps with PureScript.", - "version": "9.1.0", + "version": "9.2.0", "scripts": { "postinstall": "bower install", "build:clean": "rm -rf dist output", diff --git a/website/src/App/Events.purs b/website/src/App/Events.purs index d8aa269..200f927 100644 --- a/website/src/App/Events.purs +++ b/website/src/App/Events.purs @@ -72,7 +72,7 @@ foldp (LoadMarkdown filepath) st = buffer <- readFile path md <- toString UTF8 buffer let sliced = case st.route of - Home _ -> "# Introduction\n\nPux is" <> (fromMaybe "" $ last $ split (Pattern "Pux is") md) + Home _ -> "# Build purely functional type-safe web applications\n\nPux is" <> (fromMaybe "" $ last $ split (Pattern "Pux is") md) _ -> md pure $ case (parseMd sliced) of Left err -> Just $ FileNotFound filepath