Skip to content

Commit

Permalink
Fix minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fiddlerwoaroof committed Jul 9, 2017
1 parent df6ff92 commit 428b064
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const routesConfig = [
const {enhancer, init} = installBrowserRouter(routesConfig);

const store = createStore(reduce, compose(
enhance
enhancer
));

//when you are ready to handle the initial page load (redux-saga and similar libraries necessitate this being separte)
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
['/article/:slug', 'LOAD_ARTICLE', {}],
['/', 'LOAD_ARTICLE', {slug: "home-content"}]
];</p><p>const {enhancer} = installBrowserRouter(routesConfig);</p><p>const store = createStore(reduce, compose(
enhance
enhancer
));</p></code></pre><p>Any time a handled action fires the url in the address bar will change, and if the url in the address bar changes
the corresponding action will fire (unless the action was initiated by a url change).</p></section><section><h2>Route matching precedence - which route matches best?</h2><p>Route precedence is a function of the type of matching done in each segment and the order in which the wildcard segments
match. Exact matches are always preferred to wildcards moving from left to right.</p><pre><code class="javascript">const routesInOrderOfPrecedence = [
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html.pm
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const routesConfig = [
const {enhancer} = installBrowserRouter(routesConfig);
const store = createStore(reduce, compose(
enhance
enhancer
));
}}
Expand Down

0 comments on commit 428b064

Please sign in to comment.