Skip to content

Commit

Permalink
9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmingoia committed May 20, 2017
1 parent 9679d1b commit 8aca9e5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion website/src/App/Events.purs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8aca9e5

Please sign in to comment.