Skip to content

Commit

Permalink
Merge pull request #78 from ericclemmons/78-routes-not-firing
Browse files Browse the repository at this point in the history
Regression with HistoryLocation in React v0.13 Example
  • Loading branch information
ericclemmons committed Sep 7, 2015
2 parents 6c964c8 + 7dc2f49 commit 1cf7802
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# React Resolver Changelog

### v2.0.5 - (2015-09-07)

- Fix React Router v0.13.3 `HistoryLocation` bug
+ <https://github.com/ericclemmons/react-resolver/pull/78>
+ <https://github.com/ericclemmons/react-resolver/issues/75>


### v2.0.4 - (2015-08-25)

- Support _thenables_
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-resolver",
"version": "2.0.4",
"version": "2.0.5",
"description": "Async-rendering & data-fetching for universal React applications",
"main": "dist/index.js",
"directories": {
Expand Down
11 changes: 0 additions & 11 deletions src/Resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,6 @@ export default class Resolver extends React.Component {
}

static render = function(render, node, data = window[PAYLOAD]) {
// Server-rendered output, but missing payload
if (node.innerHTML && !data) {
return Resolver
.resolve(render)
.then(({ Resolved }) => {
// @TODO - Use react-dom.render
React.render(<Resolved />, node);
})
;
}

// @TODO - Use react-dom.render
React.render((
<Resolver data={data}>
Expand Down

0 comments on commit 1cf7802

Please sign in to comment.