Comparing version 0.1.0-beta.2 to 0.1.0-beta.3
@@ -77,4 +77,4 @@ 'use strict'; | ||
return _react2.default.createElement(_reactRouterDom.Route, _extends({}, route, { render: function render(props) { | ||
return _react2.default.createElement(RouteNode, { fetch: fetch, match: props }, _react2.default.createElement(component, _extends({}, props, { fetch: fetch, routes: routes }))); | ||
return _react2.default.createElement(_reactRouterDom.Route, _extends({}, route, { render: function render(routeProps) { | ||
return _react2.default.createElement(RouteNode, { fetch: fetch, routeProps: routeProps }, _react2.default.createElement(component, _extends({}, routeProps, { fetch: fetch, routes: routes }))); | ||
} })); | ||
@@ -125,6 +125,6 @@ }; | ||
var _fetch = _ref4.fetch, | ||
match = _ref4.match; | ||
routeProps = _ref4.routeProps; | ||
return { | ||
fetch: function fetch() { | ||
return _fetch ? dispatch(_fetch(match)) : match; | ||
return _fetch ? dispatch(_fetch(routeProps)) : routeProps; | ||
} | ||
@@ -131,0 +131,0 @@ }; |
@@ -52,3 +52,3 @@ 'use strict'; | ||
route = _ref2.route; | ||
return store.dispatch(route.fetch(match)); | ||
return store.dispatch(route.fetch({ match: match })); | ||
}); | ||
@@ -55,0 +55,0 @@ |
{ | ||
"name": "exygen", | ||
"version": "0.1.0-beta.2", | ||
"version": "0.1.0-beta.3", | ||
"description": "Not so much a framework, closer to boilerplate... but maintained and bundled with useful connectors.", | ||
@@ -5,0 +5,0 @@ "main": "client.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25324