Add data-loading example to ReactSpa template, and remove server-side rendering (because you really need Redux/Flux or similar for that to make sense)

This commit is contained in:
SteveSandersonMS
2016-02-24 18:32:31 +00:00
parent a6ea8b5101
commit c668387dac
14 changed files with 214 additions and 58 deletions

View File

@@ -23,13 +23,13 @@ export class NavMenu extends React.Component<void, void> {
</Link>
</li>
<li>
<Link to={ 'about' } activeClassName='active'>
<span className="glyphicon glyphicon-info-sign"></span> About
<Link to={ '/counter' } activeClassName='active'>
<span className="glyphicon glyphicon-education"></span> Counter
</Link>
</li>
<li>
<Link to={ '/counter' } activeClassName='active'>
<span className="glyphicon glyphicon-education"></span> Counter
<Link to={ '/fetchdata' } activeClassName='active'>
<span className="glyphicon glyphicon-th-list"></span> Fetch data
</Link>
</li>
</ul>